GoJS, a JavaScript Library for HTML Diagrams v2.1.25 Release Notes

Release Date: 2020-09-16 // over 3 years ago
  • ๐Ÿ”„ 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.