@maxgraph/core
Advanced tools
Changelog
0.9.0
Release date: 2024-04-08
For more details, see the 0.9.0 Changelog on the GitHub release page.
This release contains documentation improvements and bug fixes.
Breaking Changes
max
property of the Multiplicity
class. Pass null
instead to have the same effect.Changelog
0.8.0
Release date: 2024-02-14
For more details, see the 0.8.0 Changelog on the GitHub release page.
This release contains new features and bug fixes.
Breaking Changes They mainly impacts TypeScript users and impacts are limited:
StyleArrayValue
type into StyleArrowValue
.
This only has an impact on TypeScript users who use this type explicitly, which should happen rarely.Perimeter
is no longer a class but a value object. This only impact users that had extended the
Perimeter
class. Regular user that define perimeter style properties using function provided by
maxGraph
are not impacted by this change.CellState.perimeter
no longer accept Function
, but only the PerimeterFunction
.
Function
was incorrect and always failed at runtime.CellStateStyle.loopStyle
no longer accept Function
, but only the EdgeStyleFunction
(limited impacts like on the perimeter
property)Graph.createEdgeHandler
only accepts EdgeStyleFunction
for the edgeStyle
parameter.GraphView
signature method changes
getPerimeterPoint
can now return null
getPerimeterBounds
no longer accept null CellState
and no longer returns null
EdgeStyle
are no longer available:
scaleCellState
scalePointArray
Changelog
0.7.0
Release date: 2024-01-20
This release contains new features and bug fixes.
For more details, see the 0.7.0 Changelog on the GitHub release page.
Changelog
0.6.0
Release date: 2023-12-22
Breaking Changes
maxGraph
are no longer registered by default. They MUST be registered before performing an encode
or decode
.
You can use one of the following functions to register codecs:
registerAllCodecs
registerCoreCodecs
registerEditorCodecs
To serialize the maxGraph
model, you can use the ModelXmlSerializer
class, which registers codecs under the hood.
For more details, see the 0.6.0 Changelog on the GitHub release page.
Changelog
0.5.0
Release date: 2023-12-07
This release contains new features, bug fixes and documentation improvements.
Breaking Changes
For more details, see the 0.5.0 Changelog on the GitHub release page.
Changelog
0.4.1
Release date: 2023-10-30
This release contains bug fixes and internal improvements.
For more details, see the 0.4.1 Changelog on the GitHub release page.
Changelog
0.4.0
Release date: 2023-09-14
This release contains new features, bug fixes and documentation improvements.
Major improvements
For more details, see the 0.4.0 Changelog on the GitHub release page.
Changelog
0.3.0
Release date: 2023-07-07
This release contains new features, bug fixes and documentation improvements.
Breaking Changes
Stylesheet.getDefaultVertexStyle
and Stylesheet.getDefaultEdgeStyle
no longer return undefined
.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.
Changelog
0.2.1
Release date: 2023-06-08
This is a bug fix release.
For more details, see the 0.2.1 Changelog on the GitHub release page.
Changelog
0.2.0
Release date: 2023-05-22
This release contains bug fixes and documentation improvements.
Breaking Changes:
styleUtils
. Styles are defined using
the CellStateStyle
and it is no longer necessary to process strings. For more details, see PR #173 and commit 5ecfda6.CellStateStyle
have been renamed. For more details, see PR #165 and commit ca1914b.CellStateStyle
have changed (removed or renamed). The renamed properties better match the former mxGraph
properties. For more details, see PR #165 and commit ca1914b.For more details, see the 0.2.0 Changelog on the GitHub release page.