@maxgraph/core
Advanced tools
Changelog
0.13.1
Release date: 2024-11-04
For more details, see the 0.13.1 Changelog on the GitHub release page.
This release contains documentation improvements and bug fixes.
Changelog
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
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.Changelog
0.12.0
Release date: 2024-07-05
For more details, see the 0.12.0 Changelog on the GitHub release page.
This release contains enhancements, documentation improvements and bug fixes.
Breaking Changes
VertexHandler.rotationEnabled
has been removed as it was not possible to correctly change its value.
Use VertexHandlerConfig.rotationEnabled
to configure the rotation behavior globally or override the VertexHandler.isRotationEnabled
method.Changelog
0.11.0
Release date: 2024-06-09
For more details, see the 0.11.0 Changelog on the GitHub release page.
This release contains enhancements, documentation improvements and bug fixes.
Breaking Changes
StencilShape
, the allowEval
and defaultLocalized
static properties have been removed. Configure these properties using StencilShapeConfig
.MaxLog
by default. To restore the previous behavior, change maxGraph's global configuration with:GlobalConfig.logger = new MaxLogAsLogger();
MaxWindow.activeWindow
is no longer available; it was intended for internal use only, so there's no reason to make it public.cellArrayUtils.getOpposites
has changed. It now returns an array and take an edges Cell array parameter.
Previously it was returning a function and this was an extra indirection. This is now simpler to use and match the signature of the mxGraph function.cellArrayUtils.restoreClone
is no longer available. It was intended to be private.cellArrayUtils.cloneCells
has changed. It now returns an array of Cells instead of a function.GraphDataModel.cloneCell
function has been moved to the cellArrayUtils
namespace. The function doesn't use any internal GraphDataModel
state, and moving it into cellArrayUtils
is consistent with the cloneCells
function already there.Changelog
0.10.3
Release date: 2024-05-29
For more details, see the 0.10.3 Changelog on the GitHub release page.
This release contains bug fixes.
Changelog
0.10.2
Release date: 2024-05-24
For more details, see the 0.10.2 Changelog on the GitHub release page.
This release contains bug fixes.
Changelog
0.10.1
Release date: 2024-04-23
For more details, see the 0.10.1 Changelog on the GitHub release page.
This release contains documentation improvements and bug fixes.
Changelog
0.10.0
Release date: 2024-04-19
For more details, see the 0.10.0 Changelog on the GitHub release page.
This release contains enhancements, documentation improvements and bug fixes.
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