Joint Versions Save

A proven SVG-based JavaScript diagramming library powering exceptional UIs

v4.0.2

1 month ago

CHANGELOG

@joint/core

  • 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-wrap to take external CSS into account (920da5a)
  • Vectorizer - fix normalizePathData() to support zero-length arcto curves (62bfd32)

v4.0.1

3 months ago

CHANGELOG

@joint/core

  • add missing src/core.mjs to the dist folder.

@joint/layout-directed-graph

  • change the constraint on @joint/core dependency to allow patches only

v4.0.0

3 months ago

For a migration guide please visit the full changelog.

CHANGELOG

  • switch to a monorepo

@joint/core

  • rename package from jointjs to @joint/core
  • remove jQuery (15a73d146e4886bca1a07fd03772eda95e4f5b60, cc74f36922d8e07c06aec8fd695c77296aa17d4c, d0898c3e46184dbe5adc7184ee59c441e611c6d6, d0898c3e46184dbe5adc7184ee59c441e611c6d6, 229672e5b60f472994a1aa9c4d14dd2ac01525a0)
  • remove backbone (0fc2abf99d7681f3a813b85f73f54a019601f300, 415d84150b163d05e8f2c2c22bfb25307a817904, 8a3e1213239a5a012e79348e9de577ebea98e323, 0e6d4642b5dc862c680de817d5d49beaf9ef81a3)
  • remove lodash (ff5ae96729459765f5ed152a66ba627b80484cf1)
  • drop CSS (JointJS no longer distributed with CSS) (e4a86305e6a2ab573a68f28a7791d0305e5ea3b3)
  • !dia.Paper - change the default cell sorting to APPROX type (fa5b94aede61ea497be43262107b789d1c067f94)
  • !dia.Paper - remove deprecated perpendicularLinks option (8fbe4e0dd73c753a082411875905e78ec85544e4)
  • !dia.Paper - remove deprecated linkConnectionPoint option (f7bb456e5d93e0abb5d90b65ee4c7277a1cde7ba)
  • !dia.Paper - change the value of the defaultConnectionPoint option to boundary (df012f30640f3a43ac189637eb25c10f91f03050)
  • !dia.Paper - add SVG grid layer (1d392a15c8c7314422a565b9c948102c6f662e2f)
  • !dia.Paper - drop drawGrid() and clearGrid() methods (1d392a15c8c7314422a565b9c948102c6f662e2f)
  • dia.Paper - new transform event added (2a6e5a7161e3dd6cd610872761871554ec215758)
  • !dia.Paper - allow passing custom data along with transformation events (2a6e5a7161e3dd6cd610872761871554ec215758)
  • dia.Paper - allows passing custom data along with resize events (2a6e5a7161e3dd6cd610872761871554ec215758)
  • !dia.Paper - origin option removed (2a6e5a7161e3dd6cd610872761871554ec215758)
  • !dia.Paper - setOrigin method removed (2a6e5a7161e3dd6cd610872761871554ec215758)
  • !dia.Paper - scale() no longer accepts scaling origin (2a6e5a7161e3dd6cd610872761871554ec215758)
  • dia.Paper - add scaleUniformAtPoint() method (2a6e5a7161e3dd6cd610872761871554ec215758)
  • dia.Paper - fix paper:pinch dispatched event type (74b1ef7cfafc8d8c28517d791e6d9fa0012d05e5)
  • !dia.LinkView - remove support for legacy features (72b070ba3c809fa7ea6e89bf8c3be9a8a01acafc, 1f61873aa2336403e51f0cb8aa96851827ca5204)
  • !dia.CellView - early evaluation of calc attributes (da5000b7fcb722a4df61775e60b3c5f18fc3d9cf)
  • !dia.CellView - disable useCSSSelectors by default (910dfd97c196aa2c4ecf2cf49a506d1267c8a192)
  • !dia.Graph - throw exception when cell constructor not found (72ce83247ddc20da2320059b2b1cca09c0d6e5ff)
  • !dia.Link - replace legacy attributes in the default label definition (ae5b9cd1b2354c4ba7a1d1e786df110f1a2a3a07)
  • !dia.Link - become an abstract class (same as dia.Element) (72b070ba3c809fa7ea6e89bf8c3be9a8a01acafc)
  • !dia.Link - remove the deprecated smooth attribute (8558a53f5f38541337cf70c96bc410aa73474a4d)
  • !dia.Link - remove the deprecated manhattan attribute (8558a53f5f38541337cf70c96bc410aa73474a4d)
  • !dia.Cell - add mergeArrays options to constructor (e0cf97acf08f02b4950239987a31d51d2246c0ce)
  • !dia.Cell - remove the parent(id) setter (9fb496fab0ef49eee9a7c43b059acb188edd7ad6)
  • !shapes.standard - use calc expressions instead of legacy attributes (drop use of refWidth, refHeight, refX, refY, etc.) (d7f83b58643847e4f09923237d9fdd31fad9f6a7)
  • !shapes.basic - remove in favor of shapes.standard (29da5f0ba29f1264f5f4b94c804ba08f3522536b, bca68845e59ef013e6e401638f39d801ae16b798)
  • !shapes.devs - remove from package, define as custom shapes in demos (d7f83b58643847e4f09923237d9fdd31fad9f6a7)
  • !shapes.pn - remove from package, define as custom shapes in demos (29da5f0ba29f1264f5f4b94c804ba08f3522536b)
  • !shapes.uml - remove from package, define as custom shapes in demos (29da5f0ba29f1264f5f4b94c804ba08f3522536b)
  • !shapes.logic - remove from package, define as custom shapes in demos (29da5f0ba29f1264f5f4b94c804ba08f3522536b)
  • !shapes.org - remove from package, define as custom shapes in demos (29da5f0ba29f1264f5f4b94c804ba08f3522536b)
  • !shapes.chess - remove from package, define as custom shapes in demos (29da5f0ba29f1264f5f4b94c804ba08f3522536b)
  • !shapes.fsa - remove from package, define as custom shapes in demos (29da5f0ba29f1264f5f4b94c804ba08f3522536b)
  • !highlighters.opacity - add alphaValue option (80ab3ee6a653be81681c04368a465b5600ea56dc)
  • !highlighters.stroke - add nonScalingStroke option (5717ca9ae9170aec4c55841b3bbac75604acda0b)
  • !elementTools.Remove - change type to remove (d36e498262114674eb972f891a3730f393108671)
  • !linkTools.Remove - change type to remove (d36e498262114674eb972f891a3730f393108671)
  • linkTools.Vertices - fix to trigger link:mouseleave event when the user stops dragging a vertex (6b1b54fbb7567781feb6690b1d6e42c9f6cf0c20)
  • !attributes.filter - change the coordinate system of the filters from objectBoundingBox to userSpaceOnUse (b38fffbc98c294c19a703937bd7e61e78d14b864)
  • !util - remove deprecated shapePerimeterConnectionPoint (f7bb456e5d93e0abb5d90b65ee4c7277a1cde7ba)
  • !Vectorizer - enable camel case attribute support by default (5e743f31284afb2fa74d040fdbf3566cab37045d)
  • Vectorizer - make the attributeNames property public (5e743f31284afb2fa74d040fdbf3566cab37045d)

@joint/layout-directed-graph

  • move the DirectedGraph layout into separate package
  • upgrade dagre to version 1.0.4 (free from lodash dependency)

v4.0.0-alpha.2

3 months ago

Release v4.0.0-alpha.2

v4.0.0-alpha.1

4 months ago

v3.7.7

6 months ago

CHANGELOG

  • dia.Paper - fix custom events on link label (8d3a09f4)
  • util.breakText - fix hyphenation regex to take international characters into account (c314a3d0)

v3.7.6

6 months ago

CHANGELOG

  • dia.Cell - make prop()'s internal set() call more efficient (4f8c058f6fbc51205fb8cd2d239ac042b6f5a8f6)
  • dia.LinkView - fix to prevent hidden doubleLinkTools to affect link bounding box (d9696c37ba2f2dfa5a031b1d7c7f2c1c56f25a50)
  • dia.attributes - fix to read all breakText options in textWrap attribute (dc9dc6f7bbf5284fe5971f2d2f18878274dbd320)
  • dia.attributes - fix ambiguous order of cache keys in text attribute (e0a5aacb09746dcf7f40982c2b4d1e7b1cac92a5)
  • connectors.Curve - fix wrong target tangent right direction (e291c175de58f9ca417d8f269496aedb8d53db4b)
  • linkTools.Segments - throw explicit error when incompatible router in use (f6ffb4b3e69c364acdffbae6fa536a8f2aa01d2b)
  • shapes.standard - fix cursor style on DoubleLink and ShadowLink (1a9ca06e1fa36dcd9574710797136aa5dc2078f9)
  • util.breakText - fix to use the defined separator to join words (dc9dc6f7bbf5284fe5971f2d2f18878274dbd320)
  • util.breakText - fix to allow empty string to be separator (dc9dc6f7bbf5284fe5971f2d2f18878274dbd320)
  • Geometry - prevent unnecessary object instantiation in Rect.prototype.containsPoint() (b8b8d9d38b405b1ce4b58b5441320799fd1f1f32)
  • Geometry - prevent rounding errors in simplify() of Polyline (70a8631f73df7ff3bc7e16cab6b4b9cb47f163ca)

Experimental

  • Vectorizer: add option to support camel case attributes (2c4804e80f58c3639012995ff73fa2072f7b8197)
  • routers.RightAngle: support user-defined vertices (7aca426c775217ed457d43fb569916b02c8d4037)

v3.7.5

9 months ago

CHANGELOG

  • layout.PortLabel - fix passing of label.position.args.attrs in inside, outside, radial layouts (2b826315)
  • connectors.Jumpover - fix to prevent stacked links from causing jumps (d8b2226f)
  • util.breakText - fix to prevent NO_SPACE characters from appearing in the result (690e84b2)

v3.7.4

10 months ago

CHANGELOG

  • dia.LinkView - fix element detection when using snapLinkSelf: true (8cfdea40)

v3.7.3

10 months ago

CHANGELOG

  • demo.Isometric - add new demo as example of isometric projection (75a94c0e)
  • dia.Cell - add foregroundEmbeds option to toFront() and toBack() methods (ddc53455)
  • dia.Cell - fix the depth-first algorithm in getEmbeddedCells() method (e0e9144b)