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, If the user release the connection relocator on an empty space, I want to disconnect the nodes, but the default behavior is keeping the current connection, so I implement IDiagramConnectionRelocator, but I don't fine the information where the user release the relocator (an empty space or a new connection point) in ConnectionRelocationInfo. So if it is possible I know this. thanks |
|
|
Hello Jzhou In the next nightly build you will find the new DropTarget property on ConnectionRelocationInfo. The ConnectionDropTarget gives you the IDiagramConnectable (node or connection) where the connection was dropped as well as the IDiagramConnectionPoint instance and an enum specifying which end of the connection was dropped. If the ConnectionDropTarget.ConnectionPoint and the ConnectionDropTarget.Connectable properties are null, then the connection was dropped on nothing. Jason Fauchelle |
|