-
Notifications
You must be signed in to change notification settings - Fork 13
Migration guide v1.9.0
Florian Dupuy edited this page Jan 15, 2021
·
1 revision
In this release the generation of the SVG file has been reconsidered and deeply changed. The SVG now contains the diagram without any styling attributes, which all are in external CSS files. To that end:
- The
DiagramStyleProvider
now provides the style class to apply to the nodes and edges instead of providing the styling attributes themselves. - The components can also provide their own styling class if provided in the components.xml file.
- The external CSS file names are provided by the
DiagramStyleProvider
It is possible to have the CSS within the SVG file to have a self-sufficient file thanks to theLayoutParamer
used. You need to useLayoutParameter.setCssInternal(true)
. The corresponding CSS files are included in the SVG thanks to their URL provided byDiagramStyleProvider.getCssUrls()
.
In this release Graph.extendFeeders()
method has been renamed to Graph.insertFictitiousNodesAtFeeders()
.