Release v4.1.0
- dia.Paper - add methods to find cell/element/link views in paper (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
- dia.ElementView - add
getTargetParentView()
method (0d29e703ae877815dc0092afb0418cbd2a5687e4) - dia.ElementView - fix to prevent exception when position or size is not defined (3bead1c4fc50e3e54f958589da0829b16fa8d467)
- dia.LinkView - update tools when labels change (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6)
- dia.LinkView - fix to invalidate the root node cache when labels change (6d12e652bbf133b5e6f85b3b4889218258604610)
- dia.CellView - expose special presentation attributes API (58df31d4c4c0ce198e36b10d591a004ea70f13fc)
- dia.CellView - add
isIntersecting()
method (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b) - dia.Graph - accept
toJSON()
options (bf753a1fb0421165b386b7e889553b985e8e6c7c) - dia.Graph - add
transferCellEmbeds()
andtransferCellConnectedLinks()
methods (b62479cc3cdd72e2cd4a65f182cdd2ce9b878345) - dia.Graph - add methods to find cells/elements/links in graph (ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
- dia.Graph - fix to remove graph reference from cells after
resetCells()
(cb162d1e2aca8d7ab4678cbc385c977d7f29bd1f) - dia.Element - add
getPortGroupNames()
method (b1b7a45e14b3e1a72100a7e9ae106c6698dcbe25) - dia.Cell - add
ignoreDefaults
andignoreEmptyAttributes
options totoJSON()
(bf753a1fb0421165b386b7e889553b985e8e6c7c) - dia.Cell - add
reparent
option toembed()
(b62479cc3cdd72e2cd4a65f182cdd2ce9b878345) - elementTools.Control - add pointer event to
setPosition()
andresetPosition()
signature (dd0db32aa059d35e62786b30225de77d5812154e) - linkTools - add
Control
link tool (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6) - linkTools - add
RotateLabel
link tool (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6) - linkTools - fix pending batch for
TargetArrowhead
andSourceArrowhead
(e9c5141c65af18438397a2ca75e7fc01da9da268) - linkTools.Vertices - add
vertexAdding.interactiveLinkNode
option (97b25eb3253aedc5f50f0fc04586ebf2f25380e9) - linkTools.Button - allow
distance
to be defined via callback (5168a3ac7cf81a763af2521cf36a3747d2c4cc40) - routers.RightAngle - fix various routing issues (5de4a15befa2d48a674e1a81963ba280e6a820d2)
- dia.HighlighterView - add static
getAll()
method (7746050a3e8a4bfac8d0b749be2b53bfcb6970f3) - dia.ToolsView - fix to prevent tool
update()
from being called before previousrender()
due to visibility (f5df2d1b6fad47aa55304c580cfd2f604c12ebf6) - dia.ToolView - add
visibility
option callback (37065749db2efd7640df881b06a1f25e954aabcf) - mvc.View - fix to allow setting
style
via options (db0708250e46074bdf9c0ad2943c36544a66c5c8) - util - add
objectDifference()
method (bf753a1fb0421165b386b7e889553b985e8e6c7c) - util - expose
calc()
expression API (f8429461c2f5004fe830a135113fd046ff273b7a) - util - expose
cloneCells()
method (27d92fdc71ca6be3cc3d5966a6e0ab58c97e957c) - Geometry - add
strict
option tocontainsPoint()
ofRect
(ca06b4e5dd8221644441f41698cfd2bd1c36cd6b)
- layout.DirectedGraph - add
graph
option tofromGraphLib()
(66ab6b7e270f2e450e990c84adebbc1f64e5d006)
Release v4.0.4
- update HTML demo in alignment with
v4
(2f3282146344d5637f729dfde8385106bb4190a8) - dia.LinkView - fix missing arrowheads in Safari (bccc2ef5605a1a090f7dda0f999ec1757b3ca173)
- dia.attributes - fix to take the inline font attributes into account in
textWrap
(66442ad55ea5b3a27509828f8e1204beec5d8f3c)
Release v4.0.3
- examples.libavoid - add new demo to illustrate using libavoid-js for orthogonal routing (8369b04d)
- dia.Paper - fix to ensure grid pattern IDs are unique (68c5be48)
- dia.ElementView - fix to support port IDs of number type (e842ea46)
- linkTools.SourceArrowhead - fix to trigger
pointerdown
event when the user starts dragging an arrowhead (a383deef) - linkTools.TargetArrowhead - fix to trigger
pointerdown
event when the user starts dragging an arrowhead (a383deef)
- fix distributed
package.json
by resolving@joint/core
workspace dependency
Release v4.0.2
- 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)
Release v4.0.1
CHANGELOG
@joint/core
- add missing
src/core.mjs
to thedist
folder.
@joint/layout-directed-graph
- change the constraint on
@joint/core
dependency to allow patches only
Release v4.0.0
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 toboundary
(df012f30640f3a43ac189637eb25c10f91f03050) - !dia.Paper - add SVG
grid
layer (1d392a15c8c7314422a565b9c948102c6f662e2f) - !dia.Paper - drop
drawGrid()
andclearGrid()
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 ofrefWidth
,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
touserSpaceOnUse
(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 version1.0.4
(free fromlodash
dependency)
Release v3.7.7
CHANGELOG
- dia.Paper - fix custom events on link label (8d3a09f4)
- util.breakText - fix hyphenation regex to take international characters into account (c314a3d0)