
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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.21.0
Release date: 2025-07-22
For more details, see the 0.21.0 Changelog on the GitHub release page.
This release improves Webpack and Node.js compatibility, removes legacy code, and slightly reduces bundle size.
Breaking Changes:
AbstractGraph.fit
method moved to FitPlugin
, as well as the minFitScale
and maxFitScale
properties.
The method now accepts a single parameter, mainly to minimize the need to pass many default values.Dictionary
class has been removed. The maxGraph API use the Map
class instead, which is a standard JavaScript feature.
If your code depends on the Dictionary
class, you can use the Map
class instead.arcSize
of rounded shapes was not always correctly computed in the past. The computation is now consistent everywhere in the code and matches the mxGraph behavior.
To have the same rendering as before for edges, you must multiply the arcSize
by 2
in your styles.AbstractGraph.getPlugin
method now explicitly returns undefined
when a plugin is not found.undefined
case when calling this method.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 2,547 weekly downloads. As such, @maxgraph/core popularity was classified as 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 2 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.