@maxgraph/core
maxGraph
is a TypeScript library which can display and allow interaction with vector diagrams. At a high level, it provides:
- Nodes, also known as vertices which are typically represented by shapes like rectangles.
- Edges which can be lines and arrows which normally point between one node and another.
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.
Install
npm install @maxgraph/core
0.3.0
Release date: 2023-07-07
This release contains new features, bug fixes and documentation improvements.
Breaking Changes
- types:
Stylesheet.getDefaultVertexStyle
and Stylesheet.getDefaultEdgeStyle
no longer return undefined
. - remove the
CellMap
type. It was not used in the maxGraph code, which should have no impact.
For more details, see the 0.3.0 Changelog on
the GitHub release page.