Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Auto Arranging
Auto Arranging [message #237053] Tue, 21 July 2009 09:24 Go to next message
Vijay RajFriend
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 Go to previous message
Vijay RajFriend
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
Previous Topic:Problem with Affixed Parent Side
Next Topic:phantom nodes
Goto Forum:
  


Current Time: Mon Mar 08 07:46:48 GMT 2021

Powered by FUDForum. Page generated in 0.01623 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top