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
|
Using WPF Diagrams 2.0.643.18754. Im seeing some strange behaviour with connection points being rendered on the wrong edge of a DiagramElement. Ive attached an image to highlight the issue. In the attached image, the node marked 'Problem' is rotated through 90 degrees from its home position. As can be seen, the connection point that should be on the 'bottom' of the diagram element is attached to the left hand side of the diagram element (as shown in the image marked 'Correct'). If i debug the code, i can see that the connection point rendered on the left hand side has its 'Edge' property set to 'Bottom'. Ive also attached an image of the diagram node in its 'Home' position for reference. The problem is only evident when we de serialize the presentation data for our diagram element, i.e. if i rotate the node at runtime, the connection points are rendered on the correct edge of the diagram element. When we are de serializing the diagram element we are creating the DiagramElement and adding the connection points in their home positions before we set the rotation value. Id be surprised if this is a bug, is there any chance you can point our where we might be going wrong? Cheers. |
|
|
Hello Richard This was a bug, but fortunately I resolved this earlier this year. Install the latest nightly build and this problem will be resolved. You can download the latest nightly build from your account page: http://www.mindscapehq.com/store/myaccount Jason Fauchelle |
|