This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
What are the possibilities to add nodes and connections to a diagram? I currently see three ways:
Or can it also be data-bound (similar as WPF does data binding on grids, listboxes, tree views and the like? Thanks, Rine |
|
|
Hello Rine You have listed all the possibilities for adding nodes and connections to the diagram. You can not data bind the list of nodes. The data model of the DiagramSurface is an IDiagramModel (e.g, "Diagram" and "FlowDiagramModel"). It is possible to data bind the diagram model to the diagram surface, but not the collections within that model. This is different to grids, listboxes and tree views where the data model is a collection. Nodes and connections should be added to their appropriate collections within the diagram model. Please let us know if you have further questions. - Jason |
|