Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » Layered algorithm layers customization
Layered algorithm layers customization [message #1830763] Mon, 03 August 2020 14:14 Go to next message
Andrii Bugai is currently offline Andrii BugaiFriend
Messages: 2
Registered: August 2020
Junior Member
I have the following visualization of graph produced by ELK layered algorithm:

index.php/fa/38714/0/
(red lines I have drawn in Paint just to mark the layers of the layout)

What i am trying to achieve is to make this graph visually more compact. Is it possible to make ELK build layers over child nodes and consider parent nodes as visual clusters only? Something like this:

index.php/fa/38715/0/

I would be grateful for any ideas or workarounds

[Updated on: Mon, 03 August 2020 14:55]

Report message to a moderator

Re: Layered algorithm layers customization [message #1830770 is a reply to message #1830763] Mon, 03 August 2020 16:17 Go to previous messageGo to next message
Nis Wechselberg is currently offline Nis WechselbergFriend
Messages: 3
Registered: February 2016
Junior Member
You could try setting the post compaction strategy (https://www.eclipse.org/elk/reference/options/org-eclipse-elk-layered-compaction-postcompaction-strategy.html) to EDGE_LENGTH. That is not exactly what you sketched, but might satisfy your needs.
Re: Layered algorithm layers customization [message #1830777 is a reply to message #1830770] Mon, 03 August 2020 17:16 Go to previous message
Andrii Bugai is currently offline Andrii BugaiFriend
Messages: 2
Registered: August 2020
Junior Member
Thank you, Nis, helped a lot!
Previous Topic:Child node connection Issue
Next Topic:ELK Layered with JavaFx
Goto Forum:
  


Current Time: Sat Apr 17 04:36:14 GMT 2021

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

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

Back to the top