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

Release Date: 2020-05-11 // almost 4 years ago
  • 🔄 Changes for 2.1.16

    • 🛠 Fixed Diagram.makeImage when a Picture has an SVG source that has a different size than its viewbox. In some browsers the SVGs had been drawn with the incorrect aspect ratio.
    • 🛠 Fixed Diagram.delayInitialization incorrectly resetting the Diagram.position when animation is enabled.
    • ➕ Added the Animated Focus sample, which demonstrates how to scroll to a node and really make it obvious where the node is and what it looks like.
    • ➕ Added the Add To Palette sample, which allows the user to add items from the palette by selecting a node, customizing it, and then executing a command to copy it to the palette's model. The user can also remove selected items from the palette via a command, even though Palette.isReadOnly is true.