Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » SugiyamaLayoutAlgorithm right-skews
SugiyamaLayoutAlgorithm right-skews [message #1750069] Thu, 15 December 2016 17:21 Go to next message
Thomas Johnsson is currently offline Thomas JohnssonFriend
Messages: 10
Registered: June 2010
Junior Member
Hello again,
See attached picture, of using the GEF4 SugiyamaLaoutAlgorithm for an example profiling graph. It is coming along nicely, as you can see, but one imperfection is the right-skewed-ness. Obviously in this case all nodes with a single predecessor could have been places right under the predecessor!

Is there a cure for this?

Thanks in advance, and thanks for the helpful feedback so far!

Thomas
Re: SugiyamaLayoutAlgorithm right-skews [message #1750134 is a reply to message #1750069] Fri, 16 December 2016 10:37 Go to previous message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 230
Registered: March 2015
Senior Member
Hello Thomas,

there is no option to make it behave differently, so you would need to dig into the internals to improve the algorithm, or write your own. You can take a look at [1] for an improved Sugiyama layout algorithm.

[1] http://jgaa.info/accepted/2005/EiglspergerSiebenhallerKaufmann2005.9.3.pdf

Best regards,
Matthias
Previous Topic:Why is Graph class final?
Next Topic:java.lang.NoClassDefFoundError: org/eclipse/ui/views/properties/IPropertySource
Goto Forum:
  


Current Time: Fri Apr 19 19:47:49 GMT 2024

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

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

Back to the top