@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
Getting started
All the information is available in the README of the GitHub repository.
0.13.0
Release date: 2024-08-19
For more details, see the 0.13.0 Changelog on the GitHub release page.
This new version improves the management of plugins and the overall documentation available in the website.
Breaking Changes
- In
Graph
, the properties related to the plugins are now private. This change should not impact users as these properties were not intended to be used directly.
Plugins are assumed to be initialized only by passing them to the Graph
constructor and retrieved with the getPlugin
method.