All Versions
39
Latest Version
Avg Release Cycle
14 days
Latest Release
7 days ago

Changelog History
Page 1

  • v2.1.25

    September 16, 2020

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

    September 08, 2020

    ๐Ÿ”„ Changes for 2.1.24

    • โž• Added the Multi-color Links sample, showing links whose paths can be stroked with multiple colors specified in an Array as the value of the link's data.colors.
    • Associating a Diagram instance with an HTMLDivElement now causes that Div element to get two new properties: "goDiagram" to refer to that Diagram instance, and "go" to refer to the "go" namespace if it exists. This makes it easier to examine or set Diagram properties or to call Diagram methods or methods on GraphObjects in existing apps without access to the app's source code.
    • ๐Ÿ›  Fixed using subclasses of GraphLinksModel or TreeModel.
    • ๐Ÿ›  Fixed AnimationTriggers incorrectly starting when AnimationManager.isEnabled is set to false.
    • ๐Ÿ›  Fixed extraneous Transaction ChangedEvents when modifying a group invalidated a layout.
  • v2.1.23

    August 14, 2020

    ๐Ÿ”„ Changes for 2.1.23

    • โž• Added the Arranging Layout extension, demonstrated in the Arranging sample. This layout is basically a layout of layouts, so that you can have a CircularLayout of CircularLayouts, as shown in the sample, or a PackedLayout of TableLayouts, or whatever. The ArrangingLayout also has a third layout that is used to position nodes not arranged by the main layout. This is normally a GridLayout that only positions singleton (disconnected) nodes.
    • ๐Ÿ‘Œ Improved the ParallelLayout extension and rewrote the Flowgrammer sample to use that ParallelLayout.
    • ๐Ÿ›  Fixed UndoManager sometimes adding a duplicate "Layout" transaction to the UndoManager.history.
  • v2.1.22

    August 07, 2020

    ๐Ÿ”„ Changes for 2.1.22

    • โž• Added the Rescaling Tool extension, demonstrated in the Rescaling sample. This tool modifies the GraphObject.scale property, unlike the ResizingTool which modifies the GraphObject.desiredSize property.
    • ๐Ÿ‘Œ Improved performance of Model.mergeNodeDataArray, GraphLinksModel.mergeLinkDataArray, and Model.toIncrementalData. The merge methods require that references are not shared between the the GoJS model and the external data provided and will now make deep copies of any new data objects before adding them to the model. This means Model.cloneDeep doesn't need to be called on the arrays passed in, as the merge methods will make the necessary calls.
    • ๐Ÿ›  Fixed go-module.js to work when treated as an ES6 module in Node.js. At the same time we have added go.mjs and go-debug.mjs as copies of go-module.js and go-debug-module.js. For compatibility the kit will contain both sets of files.
    • ๐Ÿ›  Fixed automatically performing layouts of outer groups after inner nested groups changed size.
  • v2.1.21

    July 17, 2020

    ๐Ÿ”„ Changes for 2.1.21

    • โž• Added the Swim Lane Layout extension, demonstrated in the Swim Lane Layout sample. This layout is a version of LayeredDigraphLayout that positions each node in the lane in which it is supposed to be.
    • ๐Ÿ›  Fix for parts that have their location or position set when not in the Diagram. This issue could affect temporary parts, such as adornments created by tools that are repeatedly added and removed from the Diagram.
    • ๐Ÿ›  Fixed ordering of links on a Spot.TopSide or Spot.BottomSide port when linking with a node to the right.
    • ๐Ÿ›  Fixed some scaling animations when Diagram.autoScale is set.
  • v2.1.20

    July 07, 2020

    ๐Ÿ”„ Changes for 2.1.20

    • ๐Ÿ›  Fixed GraphLinksModel.setLabelKeysForLinkData sometimes disassociating a link's label nodes that existed in both the old and new array.
    • ๐Ÿ›  Fixed the recording of model changes bound to a Part's position or location, where they may not have been recorded in the undo manager when modifying the position, location, or desiredSize. This also fixes a regression from 2.1.14.
    • ๐Ÿ›  Fixed LinearGradient painting when used as a Shape.stroke. This drawing issue was most apparent when the Shape's geometry was one-dimensional.
    • ๐Ÿ›  Fixed warning messages in Chrome about passive touch event listeners.
    • ๐Ÿ›  Fixed JumpOver and AvoidsNodes issues where ongoing animations might stop them from updating.
  • v2.1.19

    June 22, 2020

    ๐Ÿ”„ Changes for 2.1.19

    • ๐Ÿ›  Fixed changing Placeholder.padding to remeasure its Group or Adornment.
    • ๐Ÿ›  Fixed Diagram.initialPosition and Diagram.initialScale sometimes not showing scrollbars on initialization.
    • ๐Ÿ›  Fixed not recording a transaction that was empty until a "CommittingTransaction" Transaction-type ChangedEvent caused some ChangedEvents to made, a regression from 2.1.16.
  • v2.1.18

    June 02, 2020

    ๐Ÿ”„ Changes for 2.1.18

    • โž• Added the Belts and Rollers sample, showing belts or chains wending around rollers or gears.
    • ๐Ÿ›  Fixed finding a node by key after undoing a call to Model.setKeyForNodeData.
    • ๐Ÿ›  Fixed Diagram initialization without DIVs or with delayed initialization, where setting some properties like Diagram.scaleComputation would cause measuring errors.
    • ๐Ÿ‘Œ Improved handling of numeric large arc flag values when creating SVG arc PathSegments via PathSegment.constructor.
    • ๐Ÿ›  Fixed the TypeScript declaration for GraphObject.make to handle AnimationTriggers.
  • v2.1.17

    May 24, 2020

    ๐Ÿ”„ Changes for 2.1.17

    • โž• Added the Radial Adornment Buttons sample, showing a selection Adornment, only on one node, that is like a context menu with buttons arranged in a circle around the selected node.
    • โž• Added the Donut Charts sample, showing a simple circular bar chart in each node.
    • ๐Ÿ›  Fixed exporting the Picture.reloadSource and Picture.redraw methods.
    • ๐Ÿ›  Fixed the LinkingBaseTool.temporaryFromPort and LinkingBaseTool.temporaryToPort property setters to replace the port of the corresponding temporary node. This allows customization of a LinkingTool by setting either or both of those two properties.
    • ๐Ÿ›  Fixed Diagram.makeImage with a Picture SVG data URI source, in the same manner as in 2.1.16.
    • ๐Ÿ›  Fixed undo of a Shape.geometry setting, after its GraphObject.desiredSize had been set. This particular sequence of events was discovered in the use of the GeometryReshapingTool extension.
  • v2.1.16

    May 11, 2020

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