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
|
Jason, I have two diagrams. When a node created in diagram 1, another node will be automatically created in the second diagram. The two nodes are associated with each other. This part is working fine. The two diagrams are in two tabs When one of the node is deleted in one diagram, the associated node should be deleted from another diagram. I found that the number of Nodes in the second diagram is created, but when I switch to the tab which contains the second diagram, the node is still shown there. And the DiagramSurface is a derived one. What could be wrong, thank you!
Best, Xiaochu |
|
|
Hello Xiaochu I have not been able to reproduce this issue at my end. Do you have your own custom diagram implementation? If so, is your Nodes collection an observable collection, or something that raises collection changed notifications? As long as this is true, the diagram surface will detect the changes and update the visuals - even if it is in a different tab. Could you please send a simple project demonstrating this issue. I'd be happy to debug it and find the problem. -Jason Fauchelle |
|
|
Jason, Never mind, it is my mistake. I did not realize that there is a ghost diagram which caused this weird behavior. Thank you! Xiaochu |
|