CHANGELOG
- Typescript definitions refactored (breaking change of the release)
- JointJS now compatible with Lodash v4 (see
demo/lodash4
for instructions) - Geometry - add Polyline with pointAtLength(), length(), closestPointLength(), closestPoint() and convexHull()
- Geometry - add cross(), dot(), squaredDistance(), closestPoint(), closestPointNormalizedLength(), vector(), vectorAngle(), angleBetween() to Point
- Vectorizer - add children() and getBBox()
- Vectorizer - fix parseTransformString() and matrixToTransformString()
- Vectorizer - make the text
y
coordinate based on the first lineline-height
in text() - Vectorizer - add option to define the end-of-line character for text()
- layout.DirectedLayout - add ability to position labels
- layout.DirectedLayout - fix bug when the elements passed do not include their parents
- dia.Paper - add
clickThreshold
,moveThreshold
andpreventDefaultBlankAction
options - dia.Paper - add
cancelRenderViews()
for async mode - dia.CellView - do not reset node's transform attribute if no transform applied update()
- dia.Element - position() can be called with { deep: true } option to set position of the embeds
- dia.attributes -
text
attribute takesx
into account - dia.attributes - add
event
for easier events handling on CellViews andresetOffset
for paths to start at 0,0 - dia.LinkView - stop triggering link:connect/link:disconnnect when connection not allowed
- dia.LinkView - can
sendToken()
backwards - highlighters.Stroke - fix for magnets inside scalable group and with zero width or height