Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 2.07 KB

File metadata and controls

34 lines (26 loc) · 2.07 KB

gojs-react Change Log

1.1.3

  • Added ChangedEvent argument to onModelChange event handler.

1.1.2

  • Updated dependencies and copyright date.

1.1.1

  • Fixed a regression from 1.1.0 that prevented onModelChange from being called for an initial data merge.
  • Added an optional style property to allow the rendered div to be styled with CSS properties like borders, backgrounds, etc.

1.1.0

  • ReactDiagram.skipsDiagramUpdate is now an optional prop. We still encourage using it in most cases.
  • Added clear method to allow clearing of the diagram and treating the next state update as a Diagram reinitialization.

1.0.10

  • Model data is now merged into the GoJS model before node and link data in case any ofModel bindings depend upon it.

1.0.9

1.0.8

  • Node and link data arrays are no longer deep cloned prior to calling the merge methods as the merge methods now clone any new data as necessary.

1.0.7

  • The GoJS model change listener is now active during model initialization and any merges of data. This means all changes that take place in GoJS - including side effects like laying out newly added nodes - will call the onModelChange handler. Make sure to set skipsDiagramUpdate to true when making state updates in that handler.