Releases: NorthwoodsSoftware/GoJS
Releases · NorthwoodsSoftware/GoJS
2.2.20
Changes for 2.2.20
- Improved LinkingTool.doActivate to assign the location of the LinkingBaseTool.temporaryToNode (or the LinkingBaseTool.temporaryFromNode, if drawing a link in the reverse direction) so as to avoid momentarily seeing where the temporary node had been the last time the user tried to draw a new link.
- Corrected functionality when a browser cancels a Pointer event (for instance when the browser is minimized during ongoing Pointer events).
- Corrected GraphObject.mouseLeave sometimes not getting called when the user's pointer leaves the Diagram.
- Fixed iOS Safari text highlighting when dragging Pointer events out of a Diagram.
- Fixed a regression from 2.2.18 where link JumpOvers might cause "Change not within a transaction" warnings on model load.
2.2.19
Changes for 2.2.19
- Event fix for some platforms that reimplement DOM functionality (Polymer and Salesforce Aura components).
- Graduated panels no longer display shadows on Shape and TextBlock elements when those elements explicitly disable shadows with GraphObject.shadowVisible.
2.2.18
Changes for 2.2.18
- Fix for some initialization animations which could set Part.location incorrectly.
- Fixed operation of the LinkShiftingTool extension when the mouse is inside the connected node.
- The TypeScript extensions are now compiled with options
"noImplicitOverride": true, "noUnusedLocals": true
. - Fix since 2.2.0: Link bounds now always contain all JumpOvers.
- Fix since 2.2.0: When a Diagram.autoScale is applied, dragging Parts outside of the viewport now reliably triggers a redraw.
2.2.17
Changes for 2.2.17
- Internal performance optimizations.
- LinkLabelDraggingTool extension now supports labels with GraphObject.segmentIndex of NaN.
- Static Brush functions will no longer trigger Chrome's warning about
willReadOnly
.
2.2.16
Changes for 2.2.16
- Fixed a regression from 2.2.13 that caused chained animations (calls to an Animation.start inside annother Animation's Animation.finished) to fail.
- Fixed Picture.successFunction/Picture.errorFunction not firing when a Part with a Picture is copied, and that Picture's Picture.source is not data-bound.
- Fixed a regression from 2.1.50 where setting a Picture.source binding and a default value would fail to use the default value, if there was no data to bind.
2.2.15
Changes for 2.2.15
- Fixed non-Path Geometry copies not to have a null value for Geometry.figures.
- Improved the calculation of the midpoint of Bezier curve Links that have exactly three points in their route.
- Fixed some empty Table panels causing an exception.
- Loading the GoJS library twice is now a console warning, instead of an error.
2.2.14
Changes for 2.2.14
- Diagram Layouts with Layout.isRealtime set to
true
will no longer attempt real-time layouts during the DraggingTool operation. - Graduated Panels now deal with highly precise floating point numbers more accurately.
2.2.13
Changes for 2.2.13
- Fixed asynchronous model loading which might intermittently fail to perform AvoidsNodes routing.
- Enhanced the ArrangingLayout extension to support placing the side nodes about the middle of the side, by supporting values such as
go.Spot.Bottom
for the ArrangingLayout.side property. - Improved the "HyperlinkText" builder extension so that it works by default in Adornments and other Parts that are in temporary layers, by setting GraphObject.isActionable to true.
- Table panel separator strokes no longer draw if a row or column is empty of visual elements, and will not draw a separator above the first-rendered row/col.
2.2.12
Changes for 2.2.12
- We have been optimizing the space used by GraphObjects. The heap used by typical large diagrams now occupies about 10% less space. Creating copies of a lot of nodes and links may be a bit faster now too.
- Fixed the new PanelLayoutFlow extension so that multiple "Flow" panels can coexist in the same panel.
- Improved GenogramLayout in the Genogram sample to support a horizontal direction as well as the standard vertical direction.
- Improved the Selectable Fields and Selectable Ports samples so that clicking on fields or ports within a node respects the Control and Shift modifiers to toggle or add to the collection of selected fields or ports.
- Fixed object picking (Diagram.findObject, GraphObject.containsPoint, etc) for Shapes with a GraphObject.background.
- The Group.layout property setter now checks to make sure that the new layout is not also the value of Diagram.layout.
2.2.11
Changes for 2.2.11
- Like the DraggingTool in v2.2.0, LinkReshapingTool, ResizingTool, and RotatingTool now optimize transactions to reduce memory usage by only saving the first and last changes for each property of each object in the transaction. This can be changed by overriding stopTransaction on the respective tool.
- Shape.graduatedSkip, TextBlock.graduatedSkip, and TextBlock.graduatedFunction now take a second argument, the Shape or TextBlock.
- Graduated Panels now correctly draw ticks/labels at very large Panel.graduatedMax values.
- The AMD
define
statement has been removed from the module version of the library (go.mjs
,go-module.js
,go-debug-module.js
) - The DraggingTool, when dragging a Link (DraggingTool.draggedLink), now passes that link as the RelinkingTool.originalLink so that link validation predicates are passed that link.
- Disconnected links now support setting Part.locationSpot.