npm jointjs 2.0.0
Release v2.0.0

latest releases: 4.0.0-alpha.1, 3.7.7, 3.7.6...
6 years ago

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 line line-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 and preventDefaultBlankAction 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 takes x into account
  • dia.attributes - add event for easier events handling on CellViews and resetOffset 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

Don't miss a new jointjs release

NewReleases is sending notifications on new releases.