Releases: NorthwoodsSoftware/GoJS
Releases · NorthwoodsSoftware/GoJS
1.7.17
- Fixed a bug in Grid Panel where it might not draw the last horizontal grid line.
- More extensions translated into TypeScript, at ExtensionsTS.
- Table Panels now allocate space to elements with a GraphObject.stretch value that also span multiple rows or columns in a more consistent fashion.
- Shapes inside a Grid Panel now respect GraphObject.opacity values.
- Label Nodes on labeled Links now are members of the link's containing Group, if any.
- Fixed a bug where if multiple Diagrams shared a Picture, they might not all be redrawn properly upon the image element loading or erroring.
1.7.16
- Translated and modularized the extensions into TypeScript *.ts files, in the extensionsTS directory. The compiled files are present in that directory as *.js files, which can be required or imported even if you are not using TypeScript. (Caution: all of the script in the HTML samples in the extensions directory have been split out into ...Script.ts files, so try not to be confused by the corresponding *.js files, which will have Script in their names.)
- Fixed missing calls to Node.linkConnected and Node.linkDisconnected event handlers when connecting or disconnecting reflexive links.
- Fixed error in Model.applyIncrementalJson adding group nodes.
1.7.15
- Fixed scrollbar behavior when Diagram.scrollMargin was set.
- Fixed ResizingTool not re-routing reflexive links on Groups.
1.7.14
- Avoided undesired side effects of undo and redo after relinking duplicate links.
- Further improved the dragging between Diagrams that was modified in 1.7.13.
1.7.13
• Fixed a bug with pinch-zooming in some browsers.
• Fixed a regression with Diagram.makeSVG. It would not include CORS-disabled images.
• Fixed a bug with the TextEditingTool when using custom HTML text editors. The code attempted to call editor.focus() and editor.setSelectionRange() before the editor was added to the DOM. This problem does not affect HTMLInfo, only HTML Element text editors.
• Improved dragging of nodes from a Diagram or Palette onto an empty Diagram.
1.7.12
- Added the Non Realtime Dragging sample, demonstrating how to customize the DraggingTool to have users drag around a translucent image of the selection, rather than actually moving those Nodes and Links, until the mouse up occurs. This makes use of the NonRealtimeDraggingTool.js extension.
- The DraggingTool will now initiate auto scroll of the Diagram even if Diagram.allowMove and Diagram.allowCopy are false.
- Link labels along multi-segmented links with unspecified GraphObject.segmentIndexes will now have more accurate angles.
- Fixed a bug with TextBlocks when TextBlock.wrapping was set to TextBlock.None, it would size itself only by the last line.
1.7.11
- Fixed a bug in the TextEditingTool when editing TextBlocks with a non-default TextBlock.textAlign value.
- Fixed some Diagram construction orders not respecting screen pixel ratios.
- Fixed a DraggingTool bug when dragging disconnected links between Diagrams, when the destination Diagram had Diagram.allowCopy set to false.
- Fixed faulty locations when Part.locationSpot or Part.locationObjectName were modified when a Part was transformed (angle or scale).
1.7.10
- Fixed routing of Links to rotated nodes with "...Side" Spots.
- Fixed routing of Link.AvoidsNodes Links that also had Link.adjusting set to Link.End.
1.7.9
- Added the Parallel Route sample, demonstrating a custom Link.computePoints method in order to have multiple links between the same two ports have parallel segments. This makes use of the ParallelRouteLink.js extension.
- Fixed some instances of ticks not rendering on Graduated Panels with small Panel.graduatedTickUnit values.
1.7.8
- Added the Link Label On Path Dragging sample, demonstrating how to restrict the dragging of link labels to remain on the path of the link. This makes use of the LinkLabelOnPathDraggingTool.js extension.
- TableRows and TableColumns now update their ports correctly when scrolling by setting Panel.topIndex or Panel.leftIndex.
- Links that have TwoWay Bindings of Link.points now copy faithfully between different Diagrams.
- When the DraggingTool.dragsLink is true, a drag of a Link that reconnects one or both ends of the Link will now raise one or two "LinkRelinked" DiagramEvents. Just as with a "LinkRelinked" event raised by the RelinkingTool, the DiagramEvent.parameter will be the old port with which the Link had been connected.