I’m using custom expand and collapse methods in the virtualized tree layout. When I collapse a node, the children of that node are hidden but the siblings of the collapsed node does not move up to fill the vacant space. I do remove the children from the diagram’s model and also call layoutDiagram(true). Expansion the leaf nodes bring the children dynamically to the model and the expanded node’s siblings move down to make room for the new children. So I’m confused as to why collapsing a node does not update the positions of the siblings.
Any ideas on what I can do to fix this issue?