Skip to main content



      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 07:57 Go to next message
Eclipse UserFriend
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 08:14 Go to previous messageGo to next message
Eclipse UserFriend
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 08:44 Go to previous messageGo to next message
Eclipse UserFriend
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 13:42 Go to previous message
Eclipse UserFriend
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: Wed Apr 23 11:58:49 EDT 2025

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

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

Back to the top