Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » Sort node order from left to right LayeredLayoutProvider
Sort node order from left to right LayeredLayoutProvider [message #1755613] Mon, 06 March 2017 10:43 Go to next message
Emin M. is currently offline Emin M.Friend
Messages: 53
Registered: November 2012
Location: Berlin
Member
Hello,

is it possible to sort the nodes for the layouting? For example i have starting nodes which i need to show on the most left of the diagram and items which should be shown in the central part and on the most right part i have to show the finish elements.

For example:
StartNode -> Processesing Nodes -> Termination/Final Node(s).

like in a BPMN diagram. Thanks in advance.

Best Regards
M.Emin
Re: Sort node order from left to right LayeredLayoutProvider [message #1755616 is a reply to message #1755613] Mon, 06 March 2017 10:52 Go to previous message
Miro Spönemann is currently offline Miro SpönemannFriend
Messages: 31
Registered: March 2015
Location: Kiel, Germany
Member

If you use the ELK Layered algorithm, it will apply this kind of sorting automatically based on the direction of connections (edges). You can enforce this behavior by setting the Layer Constraint option on the start nodes and final nodes.
Previous Topic:Edge merging points and edge crossing points
Next Topic:Problem with edge labels
Goto Forum:
  


Current Time: Sat Feb 24 02:53:01 GMT 2018

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

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