@ustutt/grapheditor-webcomponent
Advanced tools
Changelog
[0.7.0] - 2024-01-10
multiple
; other: none
, single
)select
; other: none
, link
)move
; other: none
, link
)link
; other: none
)move
; other: none
, select
, zoom
, custom
)select
, zoom
or custom
zoomToBox
to allow changing or removing the added padding'
as quote is deprecated.nodes="[{'id': 1, 'x': 0, 'y': 0}]"
(also edges
and classes
)nodes='[{"id": 1, "x": 0, "y": 0}]'
style
slot in the default template as it did not work to isolate style anywayrotation
property of edge markersstyle
slotdata-id
attribute without any prefixes. CSS selectors relying on matching nodes by ID need to be changed (use getSingleNodeSelection
or getSingleEdgeSelection
if possible)Changelog
[0.6.2] - 2021-09-05
data-line-wraps
attributeGroupingManager.getAllRegisteredGroups
helper functionresetTextTransform
" for more information on how this is calculated.Changelog
[0.6.1] - 2020-11-08
svg-template
attribute to specify a css selector of a html template containing the svg to loaddata-text-center-y
attribute)data-wrap-lines
attribute for wrapping text in lines with different max widthsdata-wrap-lines
attributetext
tag also had a text
css class. Now all text
tags will be wrapped automatically.Changelog
[0.6.0] - 2020-7-23
getSVG
, getGraphGroup
, getNodesGroup
, getEdgesGroup
, getEdgeSelection
and getDraggedEdgeSelection
to grapheditorremoveAllChildNodes
and copyTemplateSelectionIntoNode
n util to help working with static templatesupdateEdgeGroupClasses
to only update the classes of edgesghost
class until completeRender
was calledChangelog
[0.5.4] - 2020-04-30
Changelog
[0.5.3] - 2020-04-30
Known Issue: this version was compiled using typescript 3.8!
The resulting .d.ts
are only compatible with typescript versions >= 3.6
. See typescript 3.7 release notes for more information.
This will be the last release to include this warning in the changelog!
typesVersions
field to package.json to get a warning when using this package with an incompatible typescript versionChangelog
[0.5.2] - 2020-03-08
Known Issue: this version was compiled using typescript 3.7!
The resulting .d.ts
are only compatible with typescript versions >= 3.6
. See typescript 3.7 release notes for more information.
getNodeBBox
to get the bounding box of a nodecalculateBoundingRect
sometimes having negative width or heightGroupBehaviour
interface not allowing additional propertiesChangelog
[0.5.1] - 2020-02-26
Known Issue: this version was compiled using typescript 3.7!
The resulting .d.ts
are only compatible with typescript versions >= 3.6
. See typescript 3.7 release notes for more information.
updateGraphPositions
not declared as publicChangelog
[0.5.0] - 2020-02-25
Known Issue: this version was compiled using typescript 3.7!
The resulting .d.ts
are only compatible with typescript versions >= 3.6
. See typescript 3.7 release notes for more information.
currentViewWindow
to get the currently visible area of the graphcurrentViewWindow
to the 'zoomchange' eventonBeforeCompleteRender
callbackabsolutePositionOnLine
dragHandles
for edges (interface EdgeDragHandle
)dragend
event listed as dragstart
in the documentationPathPositionRotationAndScale
has a new attribute absolutePositionOnLine
(affecting edge markers, text components and LinkDragHandles)dragHandles
and isBidirectional