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
|
Hello, How can i understand when a node is created on diagram surface? Thanks for your help. |
|
|
Hello The easiest way to listen to nodes being added to the diagram is to cast the Nodes collection of the IDiagramModel into an INotifyCollectionChanged. You can get the IDiagramModel using the DiagramSurface.Diagram property. Cast the Nodes property of the IDiagramModel into an INotifyCollectionChanged and listen to the CollectionChanged event. Here you can get any nodes being added to the diagram. Let us know if you have any more questions about this. -Jason |
|