Releases: clientIO/joint
Releases · clientIO/joint
Release v4.2.2
Release v4.2.1
CHANGELOG
@joint/core
- fix types to allow port optional transformations and make all SVG attributes nullable (a65f0ed)
Release v4.2.0
CHANGELOG
- add new ELK layout example (bbce451)
@joint/core
- dia.Paper - introduce layers API (abed49b, 1efc2c5, 2908183, cc11d6b, 567196e)
- dia.Paper - rework
autoFreezeoption (9d0aa93) - dia.Paper - add
measureNode()callback option (d0df8c8) - dia.Paper - add
findClosestMagnetToPoint()method (60b2ba5) - dia.Paper - add
viewManagementoption for advanced view lifecycle management (1184173) - dia.Paper - add
cellVisibility()callback option (1184173) - dia.Paper - add
disposeHiddenCellViews()method (9d0aa93) - dia.Paper - add
prioritizeCellViewMount()andprioritizeCellViewUnmount()methods (9d0aa93) - dia.Paper - add
updateCellVisibility()andupdateCellsVisibility()methods (686f043) - dia.Paper - add
isCellVisible()method (a2c1a8d, 686f043) - dia.Paper - fix to only trigger
'render:idle'event after all updates are completed (9d0aa93) - dia.Paper - fix generic view detachment when
viewport()callback returnsfalse(d19a931) - dia.Paper - fix to trigger
'render:*'events when paper model is reset with no cells (edfdf9d) - dia.Paper - fix rendering of first batch of updates in
asyncmode to be asynchronous (edfdf9d) - dia.LinkView - allow link-to-link snap (5bebaa0)
- dia.LinkView - fix to prevent link snap to a magnet when only the host cell is close enough (5bebaa0)
- dia.LinkView - fix missing arrowheads in WKWebView (aa66557)
- dia.CellView - make
getNodeBBox()method work for nodes outside the render tree (a2f6ce2) - dia.CellView - optimize measurements of nodes referenced by
refattribute (d0df8c8) - dia.Graph - add
syncCells()method (70ca35a) - dia.Graph - add
removeCell()method (6eb1f58) - dia.Element - add
filteroption tofitToChildren()andfitParent()methods (6866b5e) - dia.Element - add
minRectoption tofitToChildren()andfitParent()methods (6866b5e, 1d90187) - dia.Element - support port position
argsinsidepositionproperty (fa5407f) - dia.Element - add
getPortBBox()andgetPortCenter()methods (4144847) - dia.Element - support custom
portLayoutNamespaceandportLabelLayoutNamespace(28be873) - dia.Element - support passing custom port label layout functions to
label.position(28be873) - dia.Element - optimize cloning in
getPort()method (3e5d69e) - dia.Element - optimize
hasPort()andhasPorts()methods (3c1d940) - dia.Element - fix to parse numeric strings in port position args (af9658c)
- dia.Cell - add
getCenter()method (e5911c5) - dia.Cell - add cell attributes merge strategy (7599ec3)
- dia.Cell - support array paths in
transition()andstopTransition()methods (8c0fcdf) - dia.Cell - expose
getAttributeDefinition()method (e361c11) - dia.Cell - fix to always create deep copy of arrays in constructor (9cb198f)
- dia.attributes - add
useNoBreakSpacewhich reinstatesV.sanitizeText()functionality (16ae297) - dia.attributes - fix
textWrapattribute when Paper is not in render tree (d0df8c8) - dia.HighlighterView -
zoption now supports highlighter positioning within SVG (84588c0) - dia.HighlighterView - add static
has()method to check if CellView has a highlighter attached (1184173) - dia.HighlighterView - fix to prevent highlighting nodes outside cell view (6af4e41)
- dia.HighlighterView - fix to prevent removing not-yet-mounted HighlighterViews on unmount (080b3f0)
- elementTools - fix tools position when attached directly to ElementView (354e75a)
- linkTools.Vertices - fix to call blur when
redundancyRemoval: false(82bfbd7) - anchors - add
useModelGeometryoption to all anchors (3e5d69e) - anchors - add support for
calc()expressions indx,dyoptions (9b27bb8) - anchors.midSide - add
modeandpreferenceThresholdoptions (7c3eb6b) - connectionPoints - add
useModelGeometryoption tobboxandrectangle(3c1d940) - mvc.View - allow providing custom
cidin constructor (1184173) - mvc.Collection - use a Map to store references (79e83fd)
- Vectorizer - add
safeoption togetTransformToElement()method (a2f6ce2) - Vectorizer - add static
getCommonAncestor()method (a2f6ce2) - Vectorizer - add
useNoBreakSpaceoption totext()method (16ae297) - Vectorizer - deprecate static
sanitizeText()method (16ae297) - Vectorizer - fix to preserve camelCase in
'attributeName','repeatCount'attribute names (9c5f098) - Vectorizer - fix to handle implicit line coordinates in
convertToPathData()method (20afa2a) - Geometry - add
moveAroundPoint()method toRect(3e5d69e) - fix to keep
'use strict'for minified files (6141307)
@joint/layout-directed-graph
- layout.DirectedGraph - support
clusterPadding: 'default'(fa2b793) - layout.DirectedGraph - expose Dagre
disableOptimalOrderHeuristicandcustomOrderoptions (47a3f70)
@joint/layout-msagl
- layout.MSAGL - add new layout package utilizing the Microsoft Automatic Graph Layout (7b268a2)
Release v4.1.3
Release v4.1.2
Release v4.1.1
Release v4.1.0
CHANGELOG
@joint/core
- dia.Paper - add methods to find cell/element/link views in paper (ca06b4e)
- dia.ElementView - add
getTargetParentView()method (0d29e70) - dia.ElementView - fix to prevent exception when position or size is not defined (3bead1c)
- dia.LinkView - update tools when labels change (f5df2d1)
- dia.LinkView - fix to invalidate the root node cache when labels change (6d12e65)
- dia.CellView - expose special presentation attributes API (58df31d)
- dia.CellView - add
isIntersecting()method (ca06b4e) - dia.Graph - accept
toJSON()options (bf753a1) - dia.Graph - add
transferCellEmbeds()andtransferCellConnectedLinks()methods (b62479c) - dia.Graph - add methods to find cells/elements/links in graph (ca06b4e)
- dia.Graph - fix to remove graph reference from cells after
resetCells()(cb162d1) - dia.Element - add
getPortGroupNames()method (b1b7a45) - dia.Cell - add
ignoreDefaultsandignoreEmptyAttributesoptions totoJSON()(bf753a1) - dia.Cell - add
reparentoption toembed()(b62479c) - elementTools.Control - add pointer event to
setPosition()andresetPosition()signature (dd0db32) - linkTools - add
Controllink tool (f5df2d1) - linkTools - add
RotateLabellink tool (f5df2d1) - linkTools - fix pending batch for
TargetArrowheadandSourceArrowhead(e9c5141) - linkTools.Vertices - add
vertexAdding.interactiveLinkNodeoption (97b25eb) - linkTools.Button - allow
distanceto be defined via callback (5168a3a) - routers.RightAngle - fix various routing issues (5de4a15)
- dia.HighlighterView - add static
getAll()method (7746050) - dia.ToolsView - fix to prevent tool
update()from being called before previousrender()due to visibility (f5df2d1) - dia.ToolView - add
visibilityoption callback (3706574) - mvc.View - fix to allow setting
stylevia options (db07082) - util - add
objectDifference()method (bf753a1) - util - expose
calc()expression API (f842946) - util - expose
cloneCells()method (27d92fd) - Geometry - add
strictoption tocontainsPoint()ofRect(ca06b4e)
@joint/layout-directed-graph
- layout.DirectedGraph - add
graphoption tofromGraphLib()(66ab6b7)
Release v4.0.4
Release v4.0.3
CHANGELOG
- examples.libavoid - add new demo to illustrate using libavoid-js for orthogonal routing (8369b04)
@joint/core
- dia.Paper - fix to ensure grid pattern IDs are unique (68c5be4)
- dia.ElementView - fix to support port IDs of number type (e842ea4)
- linkTools.SourceArrowhead - fix to trigger
pointerdownevent when the user starts dragging an arrowhead (a383dee) - linkTools.TargetArrowhead - fix to trigger
pointerdownevent when the user starts dragging an arrowhead (a383dee)
@joint/layout-directed-graph
- fix distributed
package.jsonby resolving@joint/coreworkspace dependency
Release v4.0.2
CHANGELOG
@joint/core
- dia.Paper - fix to prevent leaks of pending animation frame requests on
resetViews()(d300545) - routers.rightAngle - fix to improve generated route (a0e57de)
- dia.attributes - fix
text-wrapto take external CSS into account (920da5a) - Vectorizer - fix
normalizePathData()to support zero-length arcto curves (62bfd32)