Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » Mixing nodes to be adjusted with nodes with fixed positions in Elk Layered(I would like to keep some nodes where they are and have other layed out around them)
Mixing nodes to be adjusted with nodes with fixed positions in Elk Layered [message #1801789] Sat, 26 January 2019 23:52 Go to next message
Jason Gallia is currently offline Jason GalliaFriend
Messages: 1
Registered: January 2019
Junior Member
Is there a way to set certain nodes as fixed positions in ELK Layered? I tried to add the layout algorithm to"fixed layout" in these nodes, but they still seem to be altered. In the root graph here are the options that I have set:
        "org.eclipse.elk.algorithm": "org.eclipse.elk.layered",
        "org.eclipse.elk.direction": "RIGHT",
        "org.eclipse.elk.edgeRouting": "ORTHOGONAL",
        "org.eclipse.elk.hierarchyHandling": "INCLUDE_CHILDREN",
        "org.eclipse.elk.layered.feedbackEdges": "true",
        "org.eclipse.elk.layered.layering.strategy": "BRANDES_KOEPF",
        "org.eclipse.elk.layered.mergeEdges": "true",
        "org.eclipse.elk.layered.mergeHierarchyEdges": "true",
        "org.eclipse.elk.layered.nodePlacement.strategy": "BRANDES_KOEPF",
        "org.eclipse.elk.layoutAncestors": "true",
        "org.eclipse.elk.randomSeed": "1.000000",
        "org.eclipse.elk.spacing.nodeNode": "15.000000"


Are there any other options that I should set in order for these nodes not be moved?
Re: Mixing nodes to be adjusted with nodes with fixed positions in Elk Layered [message #1801907 is a reply to message #1801789] Tue, 29 January 2019 13:28 Go to previous message
Miro Spönemann is currently offline Miro SpönemannFriend
Messages: 78
Registered: March 2015
Location: Kiel, Germany
Member

You could try the noLayout option:
https://www.eclipse.org/elk/reference/options/org-eclipse-elk-nolayout.html
Or simply omit those nodes from the layout graph given as input to the algorithm.

Note that it is currently not possible to fix the positions of certain nodes while still routing their connected edges.
Previous Topic:[question] Layout doesn't calculate dimensions
Next Topic:Creating a graph with containers of SubGraphs
Goto Forum:
  


Current Time: Fri Mar 29 02:36:54 GMT 2024

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

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

Back to the top