Releases: NorthwoodsSoftware/GoJS
Releases · NorthwoodsSoftware/GoJS
2.1.14
Changes for 2.1.14
- Added the Simple Block Editor sample, demonstrating how to let users easily build block diagrams.
- Changing Link.fromShortLength or Link.toShortLength no longer invalidates the link's route.
- Improved the corner curves of orthogonal links when needing to make consecutive turns within double the corner radius.
- Fixed an incorrect optimization introduced in 2.1.13 updating initial scrollbars when animating.
- Fixed a bug with undo and redo of ResizingTool operations when the Part.locationSpot is not TopLeft.
2.1.13
Changes for 2.1.13
- Fixed the cursor shown during a drag in an Overview if some external HTML element changed the cursor.
- Fixed Diagram.makeSvg when rendering a fill or a stroke that is translucent not to make the opacity too small.
- Added wait spinners to three of the "Virtualized" samples: Virtualized, VirtualizedForceDirectedLayout, VirtualizedTreeLayout. These use an image rotated using CSS animation that is positioned in front of the Diagram.
2.1.12
Changes for 2.1.12
- Added the Meter and Gauge Controls sample, demonstrating several different kinds of meter and gauge instruments whose values can also be modified by the user by dragging their indicators.
- Added the Production process editor sample, which edits diagrams that can be shown by the Production process sample.
- Added the SnapLinkReshapingTool.avoidsNodes property.
2.1.11
Changes for 2.1.11
- Fixed "Grid" Panels to ignore the order of shapes in the panel when considering whether a larger Shape.interval shape should suppress a smaller interval shape, or should be suppressed by a larger interval shape. Changed "Grid" Panels to allow multiple shapes with the same Shape.interval to be drawn in the same orientation (horizontal or vertical).
- Fixed documentation by undocumenting the useless AnimationManager.animationReasons property that was accidentally documented. See the updated documentation for AnimationManager.canStart.
- Fixed a problem with Brush.isDark sometimes using an incorrect ordering of Brush.colorStops when determining darkness near the middle of a Brush.
2.1.10
Added DrawCommandHandler.pullToFront and DrawCommandHandler.pushToBack commands in the extensions directories.
2.1.9
Changes for 2.1.9
-
Fixed breadth computations for some cases of TreeLayout.arrangement of separate trees
when TreeLayout.compaction is
go.TreeLayout.CompactionNone
. -
Fixed type declarations of Binding.converter and Binding.backConverter
to return
any
instead ofvoid
.
2.1.8
Changes for 2.1.8
- Added the Game of Life cellular automation sample.
- You can improve the performance of an Overview that is observing a large diagram with a visible Diagram.grid by setting Overview.drawsTemporaryLayers to false.
- Improved the behavior from 2.1.7 when trying to open text editors in multiple diagrams. A new text editor can be started only if the previous one was able to be accepted. If TextBlock.textValidation or TextEditingTool.textValidation fails, focus remains in that older editor and a new one cannot be started.
- Fixed exception during copy-dragging when some parts are not Part.copyable.
2.1.7
- Added the Packed Hierarchy sample, which demonstrates a custom PackedLayout for nested circular groups.
- Added an optional argument to Diagram.clearSelection, and allowed that method to be overridden.
- The TextEditingTool now only allows one active text editor globally, instead of one per Diagram. This avoids some focus problems in various browsers.
2.1.6
Changes for 2.1.6
- The
release/go-module.js
file now exports every class, so that you can import only specific classes, instead ofgo
. For example:import { Diagram, Node, Link, Point, Shape, TextBlock } from ...
. - Added a sample demonstrating generating a PDF file for a Diagram, in the
projects/pdf
subdirectory. The sample is at minimalPDF. - Fix for AnimationTriggers erroneously starting when dragging and dropping Parts from another Diagram or Palette.
- Fix for LinkingTool not deselecting other parts when a new link is created.
2.1.5
Changes for 2.1.5
- Added VirtualizedPacked sample, which demonstrates a custom layout for large graphs of nested groups, defined in VirtualizedPackedLayout.ts. (Source is TS only)
- Fixed an issue where setting a node key reference in either a node or link via GraphLinksModel.setGroupKeyForNodeData, GraphLinksModel.setFromKeyForLinkData, or GraphLinksModel.setToKeyForLinkData could fail to resolve if the node did not yet exist. This issue did not exist during typical model loading.
- Fixed a regression since 2.1.1 with Diagram.clear failing to clear internal Parts lists (like Diagram.nodes).