Last Updated: 12 Feb 2020 11:25 by ADMIN
Created on: 24 Feb 2015 18:05
Category: Diagram
Type: Feature Request
Create a way to provide the diagram with both shapeOptions and dataItems
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.