It would be nice if the diagram control could support undobale properties load back from saved data. And also if shapes, connections could acquire this property (not only through diagram.addShape and diagram.addConnection).
Rad Diagram - Support copy paste from one diagram to another,
The diagram has its own built in flow layouts (left, down, &c.). I would like to see an interface provided to allow a custom callback to allow a programmer to create their own layout flow designs. All positioning calculations would be up to the user implementation, but objects that provide information about the current layout while rendering could be provided as parameters to the callback.
When using the diagram control I have been told there is a bound and unbound mode. In bound mode all events are supposed to funnel through the dataSource. While in unbound mode the events should funnel through the diagram directly. I would like a way to combine this functionality. To prevent unnecessary code and logic I would like to be able to provide a dataItem and the shapeOptions that accompany it. Currently if I provide a dataItem then I am reliant on the shapeDefaults requiring logic in the visual function, the change function, and the editable.shapeTemplate function that I wish to provide. Instead I would like to be able to determine the options for any dataItem and provide them when the item is added to the dataSource. Thanks
When connections are detached from shapes or drawn via API with coords instead of shape ends, they don't move with selection when multiple shapes/connections are selected. When these "floating" connections are selected in a multiselect scenario, they should move with the rest of the selection.
I save the diagram json to everlive by using the save method and load it into the widget with the load method. My problem is that connection blocks cannot be edited now. I don't think CRUD should be required for this ability.
At the moment, "resizing" shapes is merely a scale transformation. Proper resizing would be much better looking!
as demo'd here : https://gojs.net/latest/samples/sankey.html