Closed Nic30 closed 6 years ago
There's an option NO_LAYOUT
which can be set on nodes and edges that shall be excluded during layout. Maybe that's what you seek?
NO_LAYOUT option excludes node completely from layout I would like to only hide child nodes inside of node. Currently I am using NO_LAYOUT option on all child nodes.
Can you elaborate, maybe with an illustration, what the difference between no layout and the behavior you desire is?
Just ignore wrong offset of port markers for the moment.
I do have:
(node has single child named connection)
Desired output:
(node still has single child and it has NO_LAYOUT property set)
Problem is that it is required to set NO_LAYOUT on all children, which can be time consuming.
What diagramming framework are you using?
Diagram layout: https://github.com/OpenKieler/elkjs self updated to use elk 0.4.0-SNAPSHOT. Graphic: https://github.com/OpenKieler/klayjs-d3 self updated + custom js. Diagrams comes from hardware description and are modified for better readability.
But I think NO_LAYOUT prop. is enough, I will close this issue as I no longer solving this issue.
Hello,
is there an property which controls rendering of child nodes? I have a graph where some nodes has children nodes and children links specified I would like to hide them.