Skip to main content



      Home
Home » Modeling » Eclipse Layout Kernel » dimensions of parents
dimensions of parents [message #1790234] Thu, 07 June 2018 06:30 Go to next message
Eclipse UserFriend
Hi,

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 04:18 Go to previous message
Eclipse UserFriend
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: Wed May 21 18:18:00 EDT 2025

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

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

Back to the top