You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
CHANGELOG
add Sequence Diagram demo
screenshot
add HTML Elements demo
screenshot
upgrade jQuery dependency (~3.5.0)
dia.Paper - add beforeRender and afterRender options, add hasScheduledUpdates(), trigger render:done in sync mode
dia.Paper - fix missing initial render:done event
dia.Paper - prevent the prototype options modification, persist functions passed as options
details
newjoint.dia.Paper({// e.g. fixes `defaultConnector` option defined as a functiondefaultConnector: (sourcePoint,targetPoint,route)=>{constpolyline=newg.Polyline([sourcePoint, ...route,targetPoint]);return`M ${polyline.serialize()}`;}});
dia.Paper - scaleContentToFit() option padding accepts an object
dia.Paper - fix isMounted argument of viewport() option
details
newjoint.dia.Paper({viewport: function(view,isMounted){if(isMounted){// the view was already mounted// it's visible in the paper}else{// the view was just created or was detached by this function in the previous run// it's not visible in the paper (it's not in the DOM)}// return `true` to mount the view// return `false` to detach the view}});
dia.Paper - dynamic link update priorities (fix for "link connected to other two links" update bug)
dia.Element - port removal runs in batch
dia.Element - add getGroupPorts()
dia.Element - prevent exception in getPointFromConnectedLink() when port does not exist
dia.LinkView - fix never ending batch for legacy link tools
dia.LinkView - add requestConnectionUpdate()
dia.LinkView - trigger link:snap:connect and link:snap:disconnect events