Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » SpaceTreeLayoutAlgorithm fails when node count is high
SpaceTreeLayoutAlgorithm fails when node count is high [message #1815093] Wed, 25 September 2019 11:57 Go to next message
girijanandan nucha is currently offline girijanandan nuchaFriend
Messages: 25
Registered: January 2019
Location: Bangalore, India
Junior Member
Hi Matthias,

Background:
1) I have a custom module extending from ZestFxModule
2) My model is a o.e.gef.graph.Graph model
3) I want to render a tree using SpaceTreeLayout algorithm

Question:
Instead of getting a nice layout, I am getting a very bad layouting.
Please suggest what could be the issue ? (image attached)
Re: SpaceTreeLayoutAlgorithm fails when node count is high [message #1815096 is a reply to message #1815093] Wed, 25 September 2019 12:14 Go to previous messageGo to next message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 157
Registered: February 2016
Senior Member
You can have a look at the Eclipse Viatra Project where a Zest View is used with a CustomSpaceTreeLayoutAlgorithm.

Maybe Zoltan have more suggestion to this topic.
Re: SpaceTreeLayoutAlgorithm fails when node count is high [message #1815098 is a reply to message #1815096] Wed, 25 September 2019 12:44 Go to previous messageGo to next message
girijanandan nucha is currently offline girijanandan nuchaFriend
Messages: 25
Registered: January 2019
Location: Bangalore, India
Junior Member
Hi Tamas,

Thanks for the quick reply.

Using customization done in Viatra Project, I am able to get a better spaces tree.
But the problem of few nodes accumulating at topleft (refer image attached in topic) still persists.

I am unable to understand the reason for it.

Any directions for overcoming this problem would be greatly appreciated.

Thanks and Regards,
Giri
Re: SpaceTreeLayoutAlgorithm fails when node count is high [message #1822411 is a reply to message #1815098] Thu, 05 March 2020 18:42 Go to previous message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 230
Registered: March 2015
Senior Member
Hi Girijanandan,

it would be greatly appreciated if you could assemble a minimal self-contained example that leads to this problem and create a Bugzilla for it: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GEF

Unfortunately, the layout algorithms provided by GEF are rarely used nowadays (AFAIK). Layout is often computed via GraphViz or ELK (Eclipse Layout Kernel).

But still, someone might want to improve these algorithms. A small example in a Bugzilla would definitely be a big step forward.

Best regards,
Matthias
Previous Topic:[GEF5 MVC] Change focus/selection by TAB
Next Topic:Memory Leak issue in GEF Module
Goto Forum:
  


Current Time: Sat Apr 20 00:24:44 GMT 2024

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

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

Back to the top