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
|
Now that I have connection relocation working (thanks for the fix!), I've noticed something that might be improved in the RelocateConnection API. This method has the following signature: public void RelocateConnection(IDiagramModel model, IDiagramConnection connection, IDiagramConnectionPoint newSource, IDiagramConnectionPoint newDestination) The problem is that by the time this method is called, one of the endpoints of the connection parameter has already been nulled out. This means that I have to keep extra accounting information around to know which edge to delete in my underlying model. If you have the information, would it be possible to pass along the oldSource and oldDestination as well? Thanks, -Scott |
|
|
Hello Scott The RelocateConnection method now takes an object of type ConnectionRelocationInfo. This contains all of the parameters you know about, as well as the extra 2 that you pointed out. Jason |
|