This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Using the latest nightly build (200810070201), I observed that my class relationship lines are often drawn crossing one another. This did not happen with the previous build that I had used ... one from less than a week before. I was able to easily recreate the problem with a new project: --> Create a new class diagram --> Drop three new classes onto the new diagram --> Create generalization relationships from two of the classes to the one --> Now move the classes around in the diagram - the relationships remain attached to the generalized class in the order of their creation (left to right or top to bottom) instead of relative to their position on the diagram This behavior does not seem to be dependent upon the type of relationship being represented. Another way of reproducing this: --> Place the first class on the drawing --> Place the second class above and to the right of the first --> Place the third class below and to the right of the first --> Draw a relationship from the third class to the first --> Draw a relationship from the second class to the first You will find that the relationships are drawn crossing one another. The way to get them uncrossed is to swap positions in the diagram with the second and third classes.
This issue was caused by a fix to the issue 149116. Now I am using the correct order of the entries when calculating the position.
Fixed http://hg.netbeans.org/uml-main/rev/3c96443fa37a
Reviewed
verified in NB6.5 UML daily build 20081008