Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Node Layout Algorithm
Node Layout Algorithm [message #183167] Tue, 15 April 2008 19:10 Go to next message
Gary Leask is currently offline Gary LeaskFriend
Messages: 28
Registered: July 2009
Junior Member
Currently when I layout nodes on the canvas and connect them with links
and then do an arrange all the Graph is drawn vertically.

I would like the graph to be drawn horizontally by default and expose an
option to draw vertically if the user wishes.

Is the an example of how to change the orientation of the graph.

Gary
Re: Node Layout Algorithm [message #183176 is a reply to message #183167] Tue, 15 April 2008 19:15 Go to previous message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
http://wiki.eclipse.org/GMF_Tutorial_Part_3#Custom_Layout

Sounds like you're interested in the left-right provider.

- Rich


On 4/15/08 3:10 PM, in article fu2ukf$ggr$1@build.eclipse.org, "Gary Leask"
<gary.leask@intervoice.com> wrote:

> Currently when I layout nodes on the canvas and connect them with links
> and then do an arrange all the Graph is drawn vertically.
>
> I would like the graph to be drawn horizontally by default and expose an
> option to draw vertically if the user wishes.
>
> Is the an example of how to change the orientation of the graph.
>
> Gary
Previous Topic:Edit/View Pattern documentation
Next Topic:Change the link between the figures as arrow link ---->
Goto Forum:
  


Current Time: Tue Apr 16 07:07:27 GMT 2024

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

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

Back to the top