Auto Arranging [message #237053] |
Tue, 21 July 2009 09:24  |
Vijay Raj Messages: 608 Registered: July 2009 |
Senior Member |
|
|
Hi,
Can any body suggest me about autolayout of UML class diagrams...
currently i am using DirectedGraphLayout from draw2d.graph pachage...
but it fails when the graph contains cycles, which is common in UML
diagrams..
like a class contains its own instance...
How does UML2 AutoArrangeAction work for the same in
org.eclipse.gmf.runtime.diagram.ui.actions.internal
Is there any custom layout or algorithm...
---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
|
|
|
Re: Auto Arranging [message #237071 is a reply to message #237053] |
Tue, 21 July 2009 10:28  |
Vijay Raj Messages: 608 Registered: July 2009 |
Senior Member |
|
|
With some digging i found this class..
org.eclipse.gmf.runtime.diagram.ui.providers.internal.Defaul tProvider
I am not using GMF, My view uses GEF viewers to draw UML diagrams out of
my own model...
so i have to use DirectedgraphLayout, I just want to know how did
DefaultProvider overcame the problem of cycles detected.
Or i have to change everything to GMF,so that i can use more features such
as printing,exporting, and off coarse Arrange Action...
---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
|
|
|
Powered by
FUDForum. Page generated in 0.01623 seconds