Inverse Graph Layout and Constraints [message #161314] |
Sun, 12 December 2004 14:56  |
Eclipse User |
|
|
|
Originally posted by: filzmail.gmail.com
Hi,
I am trying to draw an UML Class Diagram - starting from a type and going
only upwards - using the DirectedGraphLayout class on a DirectedGraph with
some Nodes (=Types) and Edges (=Inheritance Relationships) on it.
The graph looks quite nice already, but I'd like to change two things:
1. The graph is "upside down" - is there any way to reverse the layouting,
so the base class is at the bottom? (I can reverse all the edges but then
source and destination are wrong).
2. I'd like to add the constraint of all classes being layed out in one
vertical line (as there is no multiple class inheritance in Java).
Is that possible?
Thanks!
Phil
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27881 seconds