Skip to content

Releases: clientIO/joint

Release v4.2.2

16 Dec 13:42
47bf303

Choose a tag to compare

CHANGELOG

@joint/core

@joint/layout-directed-graph

  • layout.DirectedGraph - ignore cell layers in the layout (7e55aac)

@joint/layout-msagl

  • layout.MSAGL - ignore cell layers in the layout (26dcd24)

Release v4.2.1

20 Nov 10:09
21093a3

Choose a tag to compare

CHANGELOG

@joint/core

  • fix types to allow port optional transformations and make all SVG attributes nullable (a65f0ed)

Release v4.2.0

10 Nov 11:44
ddc6d90

Choose a tag to compare

CHANGELOG

  • add new ELK layout example (bbce451)

@joint/core

  • dia.Paper - introduce layers API (abed49b, 1efc2c5, 2908183, cc11d6b, 567196e)
  • dia.Paper - rework autoFreeze option (9d0aa93)
  • dia.Paper - add measureNode() callback option (d0df8c8)
  • dia.Paper - add findClosestMagnetToPoint() method (60b2ba5)
  • dia.Paper - add viewManagement option for advanced view lifecycle management (1184173)
  • dia.Paper - add cellVisibility() callback option (1184173)
  • dia.Paper - add disposeHiddenCellViews() method (9d0aa93)
  • dia.Paper - add prioritizeCellViewMount() and prioritizeCellViewUnmount() methods (9d0aa93)
  • dia.Paper - add updateCellVisibility() and updateCellsVisibility() 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 returns false (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 async mode 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 ref attribute (d0df8c8)
  • dia.Graph - add syncCells() method (70ca35a)
  • dia.Graph - add removeCell() method (6eb1f58)
  • dia.Element - add filter option to fitToChildren() and fitParent() methods (6866b5e)
  • dia.Element - add minRect option to fitToChildren() and fitParent() methods (6866b5e, 1d90187)
  • dia.Element - support port position args inside position property (fa5407f)
  • dia.Element - add getPortBBox() and getPortCenter() methods (4144847)
  • dia.Element - support custom portLayoutNamespace and portLabelLayoutNamespace (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() and hasPorts() 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() and stopTransition() methods (8c0fcdf)
  • dia.Cell - expose getAttributeDefinition() method (e361c11)
  • dia.Cell - fix to always create deep copy of arrays in constructor (9cb198f)
  • dia.attributes - add useNoBreakSpace which reinstates V.sanitizeText() functionality (16ae297)
  • dia.attributes - fix textWrap attribute when Paper is not in render tree (d0df8c8)
  • dia.HighlighterView - z option 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 useModelGeometry option to all anchors (3e5d69e)
  • anchors - add support for calc() expressions in dx, dy options (9b27bb8)
  • anchors.midSide - add mode and preferenceThreshold options (7c3eb6b)
  • connectionPoints - add useModelGeometry option to bbox and rectangle (3c1d940)
  • mvc.View - allow providing custom cid in constructor (1184173)
  • mvc.Collection - use a Map to store references (79e83fd)
  • Vectorizer - add safe option to getTransformToElement() method (a2f6ce2)
  • Vectorizer - add static getCommonAncestor() method (a2f6ce2)
  • Vectorizer - add useNoBreakSpace option to text() 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 to Rect (3e5d69e)
  • fix to keep 'use strict' for minified files (6141307)

@joint/layout-directed-graph

  • layout.DirectedGraph - support clusterPadding: 'default' (fa2b793)
  • layout.DirectedGraph - expose Dagre disableOptimalOrderHeuristic and customOrder options (47a3f70)

@joint/layout-msagl

  • layout.MSAGL - add new layout package utilizing the Microsoft Automatic Graph Layout (7b268a2)

Release v4.1.3

04 Feb 11:26
dcf2653

Choose a tag to compare

CHANGELOG

@joint/core

  • mvc.Dom - use getComputedStyle for static position check (1eff27a)

Release v4.1.2

16 Jan 10:04
f3f9c14

Choose a tag to compare

CHANGELOG

@joint/core

  • mvc.Listener - fix to support running in Web Workers (12b0c32)

Release v4.1.1

02 Dec 16:45
eaa478a

Choose a tag to compare

CHANGELOG

@joint/core

  • dia.ElementView - fix return types (DOM Element vs. dia.Element) (d1918e3)
  • dia.ToolsView - make sure tools are rendered before the first update (29be243)

Release v4.1.0

27 Nov 12:50
21611cb

Choose a tag to compare

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() and transferCellConnectedLinks() 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 ignoreDefaults and ignoreEmptyAttributes options to toJSON() (bf753a1)
  • dia.Cell - add reparent option to embed() (b62479c)
  • elementTools.Control - add pointer event to setPosition() and resetPosition() signature (dd0db32)
  • linkTools - add Control link tool (f5df2d1)
  • linkTools - add RotateLabel link tool (f5df2d1)
  • linkTools - fix pending batch for TargetArrowhead and SourceArrowhead (e9c5141)
  • linkTools.Vertices - add vertexAdding.interactiveLinkNode option (97b25eb)
  • linkTools.Button - allow distance to 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 previous render() due to visibility (f5df2d1)
  • dia.ToolView - add visibility option callback (3706574)
  • mvc.View - fix to allow setting style via options (db07082)
  • util - add objectDifference() method (bf753a1)
  • util - expose calc() expression API (f842946)
  • util - expose cloneCells() method (27d92fd)
  • Geometry - add strict option to containsPoint() of Rect (ca06b4e)

@joint/layout-directed-graph

  • layout.DirectedGraph - add graph option to fromGraphLib() (66ab6b7)

Release v4.0.4

31 May 14:28
72d7a22

Choose a tag to compare

CHANGELOG

@joint/core

  • update HTML demo in alignment with v4 (2f32821)
  • dia.LinkView - fix missing arrowheads in Safari (66442ad)
  • dia.attributes - fix to take the inline font attributes into account in textWrap(bccc2ef)

Release v4.0.3

14 May 15:18
a033170

Choose a tag to compare

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 pointerdown event when the user starts dragging an arrowhead (a383dee)
  • linkTools.TargetArrowhead - fix to trigger pointerdown event when the user starts dragging an arrowhead (a383dee)

@joint/layout-directed-graph

  • fix distributed package.json by resolving @joint/core workspace dependency

Release v4.0.2

09 Apr 10:25
f664253

Choose a tag to compare

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-wrap to take external CSS into account (920da5a)
  • Vectorizer - fix normalizePathData() to support zero-length arcto curves (62bfd32)