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

Release Date: 2020-12-07 // over 3 years ago
    • ๐Ÿ›  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.

Previous changes from v2.1.30

  • ๐Ÿ”„ 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.