@Vitaly wrote:
Similar to colored Node in samples.
Can a subgraph change its size on adding or removing ports?
The subgraphs in subgraph app, adds ports but keeps the subgraph size same which results in overlapping of ports. When ports are added on left of the subgraph its height should be increased if space is not sufficient to layout the ports.
In colored node, size of node is changed on addition.
Currently there are methods in subgraph to layout the ports but taking rectangle size as input to it.
I want to change the size of the subgraph as ports on the subgraph can not be put in given rectangle. I want to change the size of subgraph (i.e. height) in both collapsed and expanded condition if height is not sufficient to place the nodes.
How can it be done without affecting layout handle method in the subgraph?
Posts: 4
Participants: 2