clientIO/joint
 Watch   
 Star   
 Fork   
8 days ago
joint

Release v4.2.1

CHANGELOG

@joint/core

  • fix types to allow port optional transformations and make all SVG attributes nullable (a65f0ed6)
18 days ago
joint

Release v4.2.0

CHANGELOG

  • add new ELK layout example (bbce4519)

@joint/core

  • dia.Paper - introduce layers API (abed49b3, 1efc2c59908184ce9469b494c0ec13a035f81fba, 2908183d85ad88121edba000b67b65eb6f646863, cc11d6b5e039a0746db498a0656be158fc6dde5f, 567196e3b88b885fe83de37a4a91e0131750182d)
  • dia.Paper - rework autoFreeze option (9d0aa936)
  • dia.Paper - add measureNode() callback option (d0df8c88)
  • dia.Paper - add findClosestMagnetToPoint() method (60b2ba50)
  • dia.Paper - add viewManagement option for advanced view lifecycle management (1184173e)
  • dia.Paper - add cellVisibility() callback option (1184173e)
  • dia.Paper - add disposeHiddenCellViews() method (9d0aa936)
  • dia.Paper - add prioritizeCellViewMount() and prioritizeCellViewUnmount() methods (9d0aa936)
  • dia.Paper - add updateCellVisibility() and updateCellsVisibility() methods (686f043b)
  • dia.Paper - add isCellVisible() method (a2c1a8dc, 686f043b)
  • dia.Paper - fix to only trigger 'render:idle' event after all updates are completed (9d0aa936)
  • dia.Paper - fix generic view detachment when viewport() callback returns false (d19a9319)
  • dia.Paper - fix to trigger 'render:*' events when paper model is reset with no cells (edfdf9d1)
  • dia.Paper - fix rendering of first batch of updates in async mode to be asynchronous (edfdf9d1)
  • dia.LinkView - allow link-to-link snap (5bebaa05)
  • dia.LinkView - fix to prevent link snap to a magnet when only the host cell is close enough (5bebaa05)
  • dia.LinkView - fix missing arrowheads in WKWebView (aa66557f)
  • dia.CellView - make getNodeBBox() method work for nodes outside the render tree (a2f6ce2b)
  • dia.CellView - optimize measurements of nodes referenced by ref attribute (d0df8c88)
  • dia.Graph - add syncCells() method (70ca35a6)
  • dia.Graph - add removeCell() method (6eb1f581)
  • dia.Element - add filter option to fitToChildren() and fitParent() methods (6866b5e1)
  • dia.Element - add minRect option to fitToChildren() and fitParent() methods (6866b5e1, 1d90187b)
  • dia.Element - support port position args inside position property (fa5407f7)
  • dia.Element - add getPortBBox() and getPortCenter() methods (41448474)
  • dia.Element - support custom portLayoutNamespace and portLabelLayoutNamespace (28be8735)
  • dia.Element - support passing custom port label layout functions to label.position (28be8735)
  • dia.Element - optimize cloning in getPort() method (3e5d69e8)
  • dia.Element - optimize hasPort() and hasPorts() methods (3c1d940f)
  • dia.Element - fix to parse numeric strings in port position args (af9658c2)
  • dia.Cell - add getCenter() method (e5911c50)
  • dia.Cell - add cell attributes merge strategy (7599ec32)
  • dia.Cell - support array paths in transition() and stopTransition() methods (8c0fcdfe)
  • dia.Cell - expose getAttributeDefinition() method (e361c110)
  • dia.Cell - fix to always create deep copy of arrays in constructor (9cb198fd)
  • dia.attributes - add useNoBreakSpace which reinstates V.sanitizeText() functionality (16ae2978)
  • dia.attributes - fix textWrap attribute when Paper is not in render tree (d0df8c88)
  • dia.HighlighterView - z option now supports highlighter positioning within SVG (84588c02)
  • dia.HighlighterView - add static has() method to check if CellView has a highlighter attached (1184173e)
  • dia.HighlighterView - fix to prevent highlighting nodes outside cell view (6af4e413)
  • dia.HighlighterView - fix to prevent removing not-yet-mounted HighlighterViews on unmount (080b3f07)
  • elementTools - fix tools position when attached directly to ElementView (354e75af)
  • linkTools.Vertices - fix to call blur when redundancyRemoval: false (82bfbd76)
  • anchors - add useModelGeometry option to all anchors (3e5d69e8)
  • anchors - add support for calc() expressions in dx, dy options (9b27bb81)
  • anchors.midSide - add mode and preferenceThreshold options (7c3eb6bd)
  • connectionPoints - add useModelGeometry option to bbox and rectangle (3c1d940f)
  • mvc.View - allow providing custom cid in constructor (1184173e)
  • mvc.Collection - use a Map to store references (79e83fd9)
  • Vectorizer - add safe option to getTransformToElement() method (a2f6ce2b)
  • Vectorizer - add static getCommonAncestor() method (a2f6ce2b)
  • Vectorizer - add useNoBreakSpace option to text() method (16ae2978)
  • Vectorizer - deprecate static sanitizeText() method (16ae2978)
  • Vectorizer - fix to preserve camelCase in 'attributeName', 'repeatCount' attribute names (9c5f0987)
  • Vectorizer - fix to handle implicit line coordinates in convertToPathData() method (20afa2a7)
  • Geometry - add moveAroundPoint() method to Rect (3e5d69e8)
  • fix to keep 'use strict' for minified files (61413074)

@joint/layout-directed-graph

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

@joint/layout-msagl

  • layout.MSAGL - add new layout package utilizing the Microsoft Automatic Graph Layout (7b268a20)
2025-02-04 19:16:10
joint

Release v4.1.3

CHANGELOG

@joint/core

  • mvc.Dom - use getComputedStyle for static position check (1eff27a3)
2025-01-16 17:57:53
joint

Release v4.1.2

CHANGELOG

@joint/core

  • mvc.Listener - fix to support running in Web Workers (12b0c32b)
2024-12-03 00:43:11
joint

Release v4.1.1

CHANGELOG

@joint/core

  • dia.ElementView - fix return types (DOM Element vs. dia.Element) (d1918e3d0617cbb573dd0e1c81d8f8240831d01e)
  • dia.ToolsView - make sure tools are rendered before the first update (29be243bd27c8e106c7be07fdb749ffa40335e3a)
2024-11-27 20:40:25
joint

Release v4.1.0

CHANGELOG

@joint/core

  • dia.Paper - add methods to find cell/element/link views in paper (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
  • dia.ElementView - add getTargetParentView() method (0d29e703ae877815dc0092afb0418cbd2a5687e4)
  • dia.ElementView - fix to prevent exception when position or size is not defined (3bead1c4fc50e3e54f958589da0829b16fa8d467)
  • dia.LinkView - update tools when labels change (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6)
  • dia.LinkView - fix to invalidate the root node cache when labels change (6d12e652bbf133b5e6f85b3b4889218258604610)
  • dia.CellView - expose special presentation attributes API (58df31d4c4c0ce198e36b10d591a004ea70f13fc)
  • dia.CellView - add isIntersecting() method (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
  • dia.Graph - accept toJSON() options (bf753a1fb0421165b386b7e889553b985e8e6c7c)
  • dia.Graph - add transferCellEmbeds() and transferCellConnectedLinks() methods (b62479cc3cdd72e2cd4a65f182cdd2ce9b878345)
  • dia.Graph - add methods to find cells/elements/links in graph (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
  • dia.Graph - fix to remove graph reference from cells after resetCells() (cb162d1e2aca8d7ab4678cbc385c977d7f29bd1f)
  • dia.Element - add getPortGroupNames() method (b1b7a45e14b3e1a72100a7e9ae106c6698dcbe25)
  • dia.Cell - add ignoreDefaults and ignoreEmptyAttributes options to toJSON() (bf753a1fb0421165b386b7e889553b985e8e6c7c)
  • dia.Cell - add reparent option to embed() (b62479cc3cdd72e2cd4a65f182cdd2ce9b878345)
  • elementTools.Control - add pointer event to setPosition() and resetPosition() signature (dd0db32aa059d35e62786b30225de77d5812154e)
  • linkTools - add Control link tool (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6)
  • linkTools - add RotateLabel link tool (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6)
  • linkTools - fix pending batch for TargetArrowhead and SourceArrowhead (e9c5141c65af18438397a2ca75e7fc01da9da268)
  • linkTools.Vertices - add vertexAdding.interactiveLinkNode option (97b25eb3253aedc5f50f0fc04586ebf2f25380e9)
  • linkTools.Button - allow distance to be defined via callback (5168a3ac7cf81a763af2521cf36a3747d2c4cc40)
  • routers.RightAngle - fix various routing issues (5de4a15befa2d48a674e1a81963ba280e6a820d2)
  • dia.HighlighterView - add static getAll() method (7746050a3e8a4bfac8d0b749be2b53bfcb6970f3)
  • dia.ToolsView - fix to prevent tool update() from being called before previous render() due to visibility (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6)
  • dia.ToolView - add visibility option callback (37065749db2efd7640df881b06a1f25e954aabcf)
  • mvc.View - fix to allow setting style via options (db0708250e46074bdf9c0ad2943c36544a66c5c8)
  • util - add objectDifference() method (bf753a1fb0421165b386b7e889553b985e8e6c7c)
  • util - expose calc() expression API (f8429461c2f5004fe830a135113fd046ff273b7a)
  • util - expose cloneCells() method (27d92fdc71ca6be3cc3d5966a6e0ab58c97e957c)
  • Geometry - add strict option to containsPoint() of Rect (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)

@joint/layout-directed-graph

  • layout.DirectedGraph - add graph option to fromGraphLib() (66ab6b7e270f2e450e990c84adebbc1f64e5d006)
2024-05-31 22:27:08
joint

Release v4.0.4

CHANGELOG

@joint/core

  • update HTML demo in alignment with v4 (2f3282146344d5637f729dfde8385106bb4190a8)
  • dia.LinkView - fix missing arrowheads in Safari (66442ad55ea5b3a27509828f8e1204beec5d8f3c)
  • dia.attributes - fix to take the inline font attributes into account in textWrap(bccc2ef5605a1a090f7dda0f999ec1757b3ca173)
2024-05-14 23:02:46
joint

Release v4.0.3

CHANGELOG

  • examples.libavoid - add new demo to illustrate using libavoid-js for orthogonal routing (8369b04d)

@joint/core

  • dia.Paper - fix to ensure grid pattern IDs are unique (68c5be48)
  • dia.ElementView - fix to support port IDs of number type (e842ea46)
  • linkTools.SourceArrowhead - fix to trigger pointerdown event when the user starts dragging an arrowhead (a383deef)
  • linkTools.TargetArrowhead - fix to trigger pointerdown event when the user starts dragging an arrowhead (a383deef)

@joint/layout-directed-graph

  • fix distributed package.json by resolving @joint/core workspace dependency
2024-04-09 18:17:54
joint

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

Release v4.0.1

CHANGELOG

@joint/core

  • add missing src/core.mjs to the dist folder.

@joint/layout-directed-graph

  • change the constraint on @joint/core dependency to allow patches only