Releases: clientIO/joint
Releases · clientIO/joint
Release v3.7.0
CHANGELOG
- demo.CustomEmbedding - add new demo to illustrate custom embedding functionality (3ac0867)
- demo.Flowchart - add new demo to illustrate
rightAnglerouter andstraightconnector (9bc6470) - demo.ROI - add new demo to illustrate working with foreign objects (0edee6d)
- demo.FTA - revamp demo to illustrate custom highlighter,
straightconnector, and alignment options ofdia.Paper.transformToFitContent()(8e87f9b) - dia.Paper - add
overflowoption (6211002) - dia.Paper - add
transformToFitContent()method (6adcf54) - dia.Paper - change
scaleContentToFit()into an alias oftransformToFitContent()(6adcf54) - dia.Paper - add
verticalAlignandhorizontalAlignoptions totransformToFitContent()(6adcf54) - dia.Paper - add
element:magnet:pointerdown,element:magnet:pointermoveandelement:magnet:pointerupevents (0edee6d) - dia.Paper - improve event handling of form control elements inside elements (0edee6d)
- dia.Paper - add
preventDefaultViewActionoption (0edee6d) - dia.Paper - add
drawGridSizeoption (169f26a) - dia.Paper - add
autoFreezeoption (ce1f70a) - dia.Paper - fix to trigger render callbacks and event when
requireView()is called (cf3adde) - dia.Paper - fix to send
mousewheelevents when CTRL key is pressed while there are nopaper:pinchsubscribers (b3741cc) - dia.Paper - fix to auto-rotate target markers as expected when using
marker.markup(2d7cf26) - dia.Paper - fix event handlers to correctly receive
dia.Eventon touch screens (0edee6d) - dia.Paper - fix event handlers so that
originalEventalways points to a native event (0edee6d) - dia.Paper - fix to trigger
element:magnet:pointerclickwhen user clicks an invalid magnet (0edee6d) - dia.Paper - fix to hide tools and highlighters when associated cell view is detached (a29d6a6)
- dia.Paper - fix to throw an error when
unfreeze()is called on a paper which has been removed (7e7f0cf) - dia.ElementView - fix to correctly update port nodes with
refon size change (c954d5d) - dia.ElementView - fix to prevent double rendering of ports when CSS selectors are enabled (0575985)
- dia.LinkView - enable link label dragging on touch screens in async mode (0edee6d)
- dia.LinkView - fix to take
defaultLabel.sizeinto account for link label size calculations (bcb1ae3) - dia.LinkView - fix to remember initial cursor offset from label anchor coordinates when dragging (b8bb6c8)
- dia.LinkView - fix incorrect rotation of labels using
keepGradientandabsoluteOffsetoptions (78b63fc) - dia.LinkView - fix to prevent label jumping while being dragged along straight-line Curve links (f9dd510)
- dia.CellView - add
preventDefaultInteraction()andisDefaultInteractionPrevented()methods (0edee6d) - dia.CellView - fix link update if connected element changes at the same time the connection is made (81698a1)
- dia.Element - add
fitToChildren()andfitParent()methods (ff962c5) - dia.Element - change
fitEmbeds()into an alias offitToChildren()(ff962c5) - dia.Element - add
expandOnlyandshrinkOnlyoptions tofitToChildren()andfitParent()(ff962c5) - dia.Cell - fix to always send
propertyPathandpropertyValueoptions when callingprop()(4f87599) - dia.Cell - fix inconsistent merging behavior in
prop()(7ed74df) - dia.Cell - fix to preserve stacking of nested cells when
toFront()/toBack()is called (64bc062) - linkTools.Anchor - fix to trigger
mouseleaveevent after drag-and-drop interaction (68e0587) - highlighters.mask - fix to prevent copying of
classattribute to elements (02ac92c) - layout.PortLabel - fix to center position of labels in outside/inside oriented layouts (93a1c20)
- layout.PortLabel - fix to correctly set vertical position of text labels (7869174)
- layout.PortLabel - fix to stop sending redundant information for
manuallayout (93a1c20) - connectionPoints.boundary - add option to disable automatic magnet lookup within elements (ec372eb)
- connectors.straight - add new connector, and deprecate
normalandroundedconnectors (2d776ab) - routers.rightAngle - add new router, and deprecate
oneSiderouter (9bc6470) - dia.attributes - add
propsspecial attribute for setting various HTML form control properties (b9f45a7) - dia.ports - fix to apply port layout transformations before ref nodes bbox measuring (c954d5d)
- dia.ports - fix to apply port layout attributes to text element (7869174)
- util - remove lodash util functions (7adc45e)
- util.breakText - support
lineHeightin px units (ffdbd8b) - util.normalizeEvent - fix to always return a
dia.Event(0edee6d) - util.parseDOMJSON - add logic to process JSON with string array items as HTML text nodes (20c2d67)
- util.svg - keep correct order of HTML text nodes when parsing to JSON (20c2d67)
- util.svg - fix to use lowercase for
tagNameof HTML elements when parsing to JSON (f21577f) - util.svg - fix
textContentto contain HTML text nodes from all descendants when parsing to JSON (f21577f) - util.svg - fix to prevent setting empty
textContentwhen parsing to JSON (f21577f) - Geometry - fix
getSubdivisions()method for straight-line Curve objects (f9dd510)
Release v3.6.5
Release v3.6.4
Release v3.6.3
Release v3.6.2
Release v3.6.1
Release v3.6.0
CHANGELOG
- replace phantomjs with puppeteer (a6739b5)
- demo.Sequence - add editing capabilities (5ac4a06)
- demo.ELK - hide details when zoomed out (98e9c30)
- dia.Paper - support
pointerdblclickon touch devices (cd1d3e4) - dia.Paper - consistent firing of
contextmenuevent (af875a4) - dia.Paper - fix memory leak (layers not being removed) (e325f6e)
- dia.Paper - 2-axis-scroll / pinch-to-zoom support (52bc786)
- dia.Paper - add
snapLinksSelfoption to snap arrowheads to the anchor and vertices (c394f8c) - dia.ElementView -
findPortNode()search for all port nodes (299cfce) - dia.ElementView - add
portRootandlabelRootselectors (299cfce) - dia.ElementView - fix
getNodeMatrix()andgetNodeBBox()for elements with rotatable group (50619b2) - dia.CellView - passing cellView instance to attribute's
set,qualify,positionandoffsetmethods (690be94) - dia.Cell - throw exception on embedding of an embedded cell (5137cbb)
- dia.HighlighterView - add
removeAll()static method (95b31cc) - dia.HighlighterView - add
UPDATE_ATTRIBUTESproperty (84fdf77) - elementTools - add
scaleoption (8549a96) - elementTools.HoverConnect - new connection tool displayed on mouseover (5ac4a06)
- elementTools.Button - enable
calc()expression forxandy(bff7079) - linkTools - add
scaleoption (8549a96) - linkTools.HoverConnect - new connection tool displayed on mouseover (5ac4a06)
- linkTools.Connect - fix touch support (eb4139f)
- connectors.Curve - add
rotateoption (45d40b5) - layout.Port - enable the use of the
calc()expression for port positioning (199afac) - highlighters.list - add a new highlighter to render a dynamic list of icons (84fdf77)
- highlighters.mask - fix rotation and position for nodes within rotatable group (393a92c)
- highlighters.stroke - fix rotation and position for nodes within rotatable group (393a92c)
- dia.attributes -
calc()expression supports division (64ef08b) - dia.attributes - enable
calc()expression forwidthandheightfortextWrapattribute (085efce) - dia.attributes -
fontSizeandstrokeWidthusecalc()(d55793a) - dia.attributes - prevent negative values for dimension attributes (0ee9de9)
- dia.attributes - use cached segments subdivisions for calculating the connection stubs (57199ed)
- mvc.Listener - add new class for attaching multiple event listeners on multiple objects. (0abfa1b, 8e9f714)
- util.svg - tagged SVG template (4e70b6f)
- util.breakText - add
preserveSpacesoptions (987d2aa) - util.guid - can be called without an object argument (f22d7a3)
- util.getRectPoint - add utility to get a point on a rect from given keyword (1a77a9b)
- Vectorizer -
text()reads empty line heights from annotations (fa0bd81)