
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@maxgraph/core
Advanced tools
maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
maxGraph
is a TypeScript library which can display and allow interaction with vector diagrams. At a high level, it provides:
It provides many of the diagramming features which would be expected by a piece of presentation software like Microsoft® PowerPoint™ or LibreOffice® Impress such as being able to resize, move or rotate nodes, but has a stronger focus on automatic layout algorithms and applications of Graph Theory. It is suited towards software which requires finer-grained customization of functionality than off-the-shelf packages.
For more details, see the maxGraph GitHub repository.
npm install @maxgraph/core
All the information is available in the README of the GitHub repository.
0.16.0
Release date: 2025-03-02
For more details, see the 0.16.0 Changelog on the GitHub release page.
This new version enhances internationalization (i18n), improves connector configurations, and prepares for future updates with tree shaking optimizations.
Breaking Changes:
utils.isNullish
and utils.isNotNullish
functions are now marked as private.
They had been made public by mistake, and had been considered internal since their introduction.CellStateStyle
and CellStyle
properties, which were intended only for internal use, have been removed.
utils.getValue
stringUtils.getColor
stringUtils.getNumber
stringUtils.getStringValue
Client.isBrowserSupported
has been removed. It didn't correctly validate all prerequisites required to know if the browser supports maxGraph.
So, remove it without replacement.Client.VERSION
moved to constants.VERSION
.
VERSION
is supposed to be immutable as it represents the actual version of maxGraph.Client
, it was a static property that could be modified.Client
to manage the configuration of Translations
have moved to TranslationsConfig
:
Client.defaultLanguage
to TranslationsConfig.getDefaultLanguage
Client.setDefaultLanguage
to TranslationsConfig.setDefaultLanguage
Client.language
to TranslationsConfig.getLanguage
Client.setLanguage
to TranslationsConfig.setLanguage
Client.languages
to TranslationsConfig.getLanguages
Client.setLanguages
to TranslationsConfig.setLanguages
ManhattanConnector
is now configured with the global ManhattanConnectorConfig
object.
The following properties that were previously on EdgeStyle
have moved to ManhattanConnectorConfig
:
MANHATTAN_END_DIRECTIONS
to endDirections
MANHATTAN_MAX_ALLOWED_DIRECTION_CHANGE
to maxAllowedDirectionChange
MANHATTAN_MAXIMUM_LOOPS
to maxLoops
MANHATTAN_START_DIRECTIONS
to startDirections
MANHATTAN_STEP
to step
OrthConnector
is now configured with the global OrthogonalConnectorConfig
object.
The following properties that were previously on EdgeStyle
have moved to OrthogonalConnectorConfig
:
orthBuffer
to buffer
orthPointsFallback
to pointsFallback
EdgeStyle
are now only internal.
getRoutePattern
method has been completely removed as it was not being used.FAQs
maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
The npm package @maxgraph/core receives a total of 653 weekly downloads. As such, @maxgraph/core popularity was classified as not popular.
We found that @maxgraph/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.