Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » dimensions of parents
dimensions of parents [message #1790234] Thu, 07 June 2018 10:30 Go to next message
Cristina Marinescu is currently offline Cristina MarinescuFriend
Messages: 1
Registered: June 2018
Junior Member

I would like to know if it is possible to lock the size of a parent node.
For the next example the drawn rectangle for the parent node MM

node MM {
org.eclipse.elk.nodeSize.constraints: "MINIMUM_SIZE"
org.eclipse.elk.nodeSize.minimum: "(100.0,100.0)"

node D1 { layout [ size: 30, 30 ] }
node D2 { layout [ size: 40, 40 ] }

has the next characteristics
<rect x="0" y="0" width="100" height="114" class="elknode"></rect>

I would like to enforce the size (width and height) of the parent node (100, 100). It is possible to do this or the size of a parent node is automatically computed based on the dimensions of its children?

Thank you very much,
Cristina Marinescu
Re: dimensions of parents [message #1790310 is a reply to message #1790234] Fri, 08 June 2018 08:18 Go to previous message
Miro Spönemann is currently offline Miro SpönemannFriend
Messages: 71
Registered: March 2015
Location: Kiel, Germany

It's not possible. The size of a parent node is automatically computed based on the dimensions of its children.
Previous Topic:[ELK] Layout disjunct graphs
Next Topic:[ELK] The problem between ELK and Sirius
Goto Forum:

Current Time: Sun Apr 18 19:13:29 GMT 2021

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

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

Back to the top