@joint/core@4.3.2
- 0a2991b: alg.rightAnglePath: refactor to consolidate duplicate code into helpers
- 68a4758: dia.Paper - the
guardoption can now veto blank pointerdowns; itsviewargument isundefinedwhen the event did not hit a cell view - 54d9800: routers.rightAngle - refactor the path-finding algorithm into a separate utility
@joint/react@4.3.3
- 634fb9f: fix stale cell keys when a single commit swaps ids without changing the count (membership changes now notify key-list subscribers, and large-graph rendering no longer defers id updates)
- 68a4758: link routing - account for the arrowhead when a custom link anchor is used
- 68a4758: - support interactive controls (buttons, inputs) nested inside magnets without the press starting a link drag or an element move
- 68a4758: useCell - tolerate a cell removed from the graph mid-render
- 68a4758: useCombinedRef - assign the forwarded ref during the commit phase
- 68a4758: useMarkup - tolerate a cell view whose markup has not been rendered yet (synchronous rendering in development)
- Updated dependencies [0a2991b]
- Updated dependencies [68a4758]
- Updated dependencies [54d9800]
- @joint/core@4.3.2
Release v4.3.0
- new package - idiomatic React components and hooks for JointJS, built directly on the core engine (c87d3453)
- dia.Paper - add
originXandoriginYoptions togetFitToContentArea()(82f2e079) - dia.Paper - add typed
EventMapfor IDE autocomplete and type-checking onon()calls (bb2f01be) - dia.Paper -
resolveViewClassfactory now receives the resolved namespace view class as a second argument (88e5812a) - dia.Paper - add
getCellView()method for strict view lookup (42ecbe42) - dia.Paper - add
setDragging()andisDragging()methods for drag-state access (ec6eb331) - dia.Paper - auto-emit
resizeevent when the host container is resized via CSS (adc8f522) - dia.Paper - fix stale cell views when cells become hidden during a batch update (2eff4f32)
- dia.Paper -
elementView/linkViewfactory options now receive the namespace view class as a second argument (fdbf8491) - dia.GridLayerView - read built-in grid patterns from the paper constructor's static field (79827c66)
- dia.CellView -
getNodeBoundingRect()and newcomputeNodeBoundingRect()support HTML elements (8ef72b69, 4b4bb52e) - dia.Graph - add
getCellNamespace(),setCellNamespace(),getTypeConstructor(),getTypeDefaults(); deprecateCellCollection.cellNamespacesetter (fea4bf33) - dia.Graph - add typed
EventMapfor IDE autocomplete and type-checking onon()calls (bb2f01be) - dia.Graph - add
portandmagnetoptions togetConnectedLinks()(906ddd59) - dia.Cell - support predicate function for
ignoreEmptyAttributesoption oftoJSON()(6363f39a) - dia.Cell - add
Cell.JSONandCell.JSONInittypes; deprecateGenericAttributes(5cbc52f3) - anchors.midSide - add
'top-bottom','bottom-top','left-right','right-left'direction modes (67d83ba1) - highlighters - add HTML element support to the mask highlighter (dcd60ac2)
- routers.rightAngle - fix anchor point excluded from clearance bounding-box union (2a1fec50)
- routers.rightAngle - add
minPathMargin,sourceMargin, andtargetMarginoptions (858d0495) - mvc.View - add
classNamePrefixinstance property to override thejoint-CSS class prefix (0a399774) - config - add
storeEmbedsoption to suppress theembedsattribute (de2357e2) - Vectorizer - fix
getRelativeTransformation()when the screen CTM is non-invertible (66e68104)
Release v4.2.4
- dia.Paper - fix to handle element removal during pointer events
- dia.Graph - fix to pass options to
batch:startandbatch:stopevents consistently - mvc.Model - fix to trigger the
changeIdevent only if the previous ID is different from the current ID - Vectorizer - fix
getTransformToElement()when the target node is inside a nested SVG document
Release v4.2.3
- dia.Paper - fix to wake up idle
asyncpaper withinitializeUnmounted: truewhen a new cell is added to graph (879b8ca6) - dia.Paper - fix to prevent an error when a view is synchronously dumped during an asynchronous visibility check (42d55cb6)
- dia.Element - fix
getPortBBox()to return a valid bbox when port has no size defined (96867e75)
- layout.DirectedGraph - fix to accept a padding object for
clusterPaddingoption oflayout()(d7114104)