Release v4.2.0
- add new ELK layout example (bbce4519)
- dia.Paper - introduce layers API (abed49b3, 1efc2c59908184ce9469b494c0ec13a035f81fba, 2908183d85ad88121edba000b67b65eb6f646863, cc11d6b5e039a0746db498a0656be158fc6dde5f, 567196e3b88b885fe83de37a4a91e0131750182d)
- dia.Paper - rework
autoFreezeoption (9d0aa936) - dia.Paper - add
measureNode()callback option (d0df8c88) - dia.Paper - add
findClosestMagnetToPoint()method (60b2ba50) - dia.Paper - add
viewManagementoption for advanced view lifecycle management (1184173e) - dia.Paper - add
cellVisibility()callback option (1184173e) - dia.Paper - add
disposeHiddenCellViews()method (9d0aa936) - dia.Paper - add
prioritizeCellViewMount()andprioritizeCellViewUnmount()methods (9d0aa936) - dia.Paper - add
updateCellVisibility()andupdateCellsVisibility()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 returnsfalse(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
asyncmode 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
refattribute (d0df8c88) - dia.Graph - add
syncCells()method (70ca35a6) - dia.Graph - add
removeCell()method (6eb1f581) - dia.Element - add
filteroption tofitToChildren()andfitParent()methods (6866b5e1) - dia.Element - add
minRectoption tofitToChildren()andfitParent()methods (6866b5e1, 1d90187b) - dia.Element - support port position
argsinsidepositionproperty (fa5407f7) - dia.Element - add
getPortBBox()andgetPortCenter()methods (41448474) - dia.Element - support custom
portLayoutNamespaceandportLabelLayoutNamespace(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()andhasPorts()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()andstopTransition()methods (8c0fcdfe) - dia.Cell - expose
getAttributeDefinition()method (e361c110) - dia.Cell - fix to always create deep copy of arrays in constructor (9cb198fd)
- dia.attributes - add
useNoBreakSpacewhich reinstatesV.sanitizeText()functionality (16ae2978) - dia.attributes - fix
textWrapattribute when Paper is not in render tree (d0df8c88) - dia.HighlighterView -
zoption 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
useModelGeometryoption to all anchors (3e5d69e8) - anchors - add support for
calc()expressions indx,dyoptions (9b27bb81) - anchors.midSide - add
modeandpreferenceThresholdoptions (7c3eb6bd) - connectionPoints - add
useModelGeometryoption tobboxandrectangle(3c1d940f) - mvc.View - allow providing custom
cidin constructor (1184173e) - mvc.Collection - use a Map to store references (79e83fd9)
- Vectorizer - add
safeoption togetTransformToElement()method (a2f6ce2b) - Vectorizer - add static
getCommonAncestor()method (a2f6ce2b) - Vectorizer - add
useNoBreakSpaceoption totext()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 toRect(3e5d69e8) - fix to keep
'use strict'for minified files (61413074)
- layout.DirectedGraph - support
clusterPadding: 'default'(fa2b7932) - layout.DirectedGraph - expose Dagre
disableOptimalOrderHeuristicandcustomOrderoptions (47a3f70f)
- layout.MSAGL - add new layout package utilizing the Microsoft Automatic Graph Layout (7b268a20)
Release v4.1.0
- 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()andtransferCellConnectedLinks()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
ignoreDefaultsandignoreEmptyAttributesoptions totoJSON()(bf753a1fb0421165b386b7e889553b985e8e6c7c) - dia.Cell - add
reparentoption toembed()(b62479cc3cdd72e2cd4a65f182cdd2ce9b878345) - elementTools.Control - add pointer event to
setPosition()andresetPosition()signature (dd0db32aa059d35e62786b30225de77d5812154e) - linkTools - add
Controllink tool (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6) - linkTools - add
RotateLabellink tool (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6) - linkTools - fix pending batch for
TargetArrowheadandSourceArrowhead(e9c5141c65af18438397a2ca75e7fc01da9da268) - linkTools.Vertices - add
vertexAdding.interactiveLinkNodeoption (97b25eb3253aedc5f50f0fc04586ebf2f25380e9) - linkTools.Button - allow
distanceto 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 previousrender()due to visibility (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6) - dia.ToolView - add
visibilityoption callback (37065749db2efd7640df881b06a1f25e954aabcf) - mvc.View - fix to allow setting
stylevia options (db0708250e46074bdf9c0ad2943c36544a66c5c8) - util - add
objectDifference()method (bf753a1fb0421165b386b7e889553b985e8e6c7c) - util - expose
calc()expression API (f8429461c2f5004fe830a135113fd046ff273b7a) - util - expose
cloneCells()method (27d92fdc71ca6be3cc3d5966a6e0ab58c97e957c) - Geometry - add
strictoption tocontainsPoint()ofRect(ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
- layout.DirectedGraph - add
graphoption tofromGraphLib()(66ab6b7e270f2e450e990c84adebbc1f64e5d006)
Release v4.0.4
- 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)
Release v4.0.3
- examples.libavoid - add new demo to illustrate using libavoid-js for orthogonal routing (8369b04d)
- 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
pointerdownevent when the user starts dragging an arrowhead (a383deef) - linkTools.TargetArrowhead - fix to trigger
pointerdownevent when the user starts dragging an arrowhead (a383deef)
- fix distributed
package.jsonby resolving@joint/coreworkspace dependency
Release v4.0.2
- 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)