Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Auto Arranging
Auto Arranging [message #237053] Tue, 21 July 2009 05:24 Go to next message
Eclipse UserFriend
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...
Re: Auto Arranging [message #237071 is a reply to message #237053] Tue, 21 July 2009 06:28 Go to previous message
Eclipse UserFriend
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...
Previous Topic:Problem with Affixed Parent Side
Next Topic:phantom nodes
Goto Forum:
  


Current Time: Thu Jul 17 09:43:00 EDT 2025

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

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

Back to the top