Skip to content

Releases: NorthwoodsSoftware/GoJS

2.1.34

12 Jan 22:32
Compare
Choose a tag to compare

Changes for 2.1.34

  • Improved performance for off-screen Adornments and Parts.
  • Fixed exception regarding Workers when running in a web Worker.

2.1.33

04 Jan 18:12
Compare
Choose a tag to compare
  • Improved AvoidsNodes routing performance for many common cases.
  • Improved ContextMenuTool.canStart to return false for double or triple context clicks.

2.1.32

16 Dec 14:33
Compare
Choose a tag to compare
  • Fixed auto-scrolling not to do so in the directions in which Diagram.allowHorizontalScroll and Diagram.allowVerticalScroll disallow it.
  • Fixed the positioning of nodes and links when an animation is stopped during a drag that operates on the same Parts.
  • Fixed Diagram.makeSvg where the SVG would not include Picture.source in some environments, such as headless browsers.
  • Fixed a Diagram initialization bug when no Diagram DIV is specified, but setting some properties expected one (such as Diagram.scrollMargin).

2.1.31

07 Dec 19:37
Compare
Choose a tag to compare
  • Fixed a regression since 2.1.30 where the library might not load in React or Angular environments, and a TypeError would be thrown.
  • Fixed dragging of links connected with snapped nodes when the grid cell size was not an integer, causing the links to slowly shift over time.
  • Fixed rendering of background in images drawn by Diagram.makeImageData when the whole page has been scaled to be less than 100%.
  • Fixed Diagram.delayInitialization when calling code that prompts the Diagram to update immediately afterwards.
  • Fixed premature routing of links in Groups that start off collapsed (with Group.isSubGraphExpanded set or bound to false).
  • Fixed an animation bug that might revert some routes when the initial animation was turned off.
  • Link.computeAdjusting now only returns Link.End during animation only when routing is AvoidsNodes.
  • Fixed a regression since 2.1.29 where an Overview would not update with a newly set Overview.observed Diagram and a newly displayed HTMLDivElement until some activity happened on that observed Diagram.

2.1.30

23 Nov 17:14
Compare
Choose a tag to compare

Changes for 2.1.30

  • Changed the behavior of GraphLinksModel so that the use of a key of a non-existent node can be resolved by adding a node with that key in a later transaction, not just in the same transaction.
  • Fixed routing of duplicate orthogonal links between ports with "...Side" Spots to avoid producing little loops when the ports are close to each other.
  • Fixed ContextMenuTool to automatically stop running if the newly shown context menu is a not-GraphObject.visible Adornment.
  • Fixed exception on expanding a Group whose member nodes had partly disconnected links.

2.1.29

10 Nov 14:21
Compare
Choose a tag to compare

Changes for 2.1.29

  • Overviews now wait for the Diagram to draw first before attempting to draw. This solves timing issues with Diagram.delayInitialization.
  • Fixed delays in updating the Link.geometry after changing properties such as Link.corner.
  • Fixed setting Diagram.scrollMargin during Diagram initialization, which would interrupt the initial transaction.

2.1.28

26 Oct 16:44
Compare
Choose a tag to compare

Changes for 2.1.28

  • Added the Diagram.ensureBounds method. Like Part.ensureBounds, this is useful when you need the document bounds computed immediately. It is rare that you will need to call either method, because the normal updating process will perform the computations for you as part of a transaction, asynchronously.
  • Fixed some parsing issues when using Geometry.parse or Shape.geometryString with SVG arcs.
  • Fixed the Picture.source setter from failing in non-DOM environments.
  • Fixed DOM-less environments that do not have setImmediate defined.
  • Fixed Link routing when connecting to the edge of an arc segment.

2.1.27

14 Oct 15:56
Compare
Choose a tag to compare

Changes for 2.1.27

  • Fixed the routing of links connected with nodes that are members of expanded groups inside collapsed groups.
  • Fixed some Shapes in Link Selection Adornments inheriting their strokeWidth from the Link. Only the main path Shapes of Link "Selection" Adornments with a strokeWidth of 0 will inherit the strokeWidth from the adorned Link.path Shape.
  • Fixed changing Picture.source back to an empty string not to throw an unnecessary error.

2.1.26

23 Sep 20:28
Compare
Choose a tag to compare

Changes for 2.1.26

  • Added a ResizeObserver to automatically detect changes in the size of the HTMLDivElement (the Diagram.div) in recent browsers. You will still need to call Diagram.requestUpdate when running in older browsers or in Internet Explorer.
  • Added the ResizingTool.dragsMembers property, for controlling whether resizing a Group may move its Group.memberParts if it has no Placeholder.
  • Fixed regression since 2.1.24 causing some diagrams not to be drawn even after calling Diagram.requestUpdate.
  • Fixed some cases of finding the nearest intersection point of Bezier curves with a straight finite line.

2.1.25

16 Sep 14:14
Compare
Choose a tag to compare

Changes for 2.1.25

  • Added the Connection Box Node sample, showing nodes that allow links between ports within a node.
  • In order to avoid possible errors caused by loading the GoJS library more than once, an Error is thrown when a second load is detected, even if the version number is the same. This helps avoid problems where there are multiple definitions for each of the classes, causing errors such as: Error: Unknown type of binding target: Node#241, where the object is a GoJS Node, but not the same GoJS Node class as the code expects. It also helps avoid situations when both the release library and the debug library are loaded.
  • Fixed raising an extraneous Diagram.mouseOver event during initialization.
  • Fixed a regression since 2.1.0 that would prevent a Diagram or Overview from re-scaling or aligning when its DIV changed size.
  • Fixed invalidating routes of external links when nested groups change their visibility in ways other than expanding trees or subgraphs.
  • Fixed Model.mergeNodeDataArray, GraphLinksModel.mergeLinkDataArray, and Model.applyIncrementalJson to set known properties, eg. GraphLinksModel.nodeGroupKeyProperty, even when the property is not present on the new data.