Is pool collapsed or expanded?

How to tell bpmn:Participant/pool is collapsed or expanded?

Hi @Marco2
it’s hard to understand what you want to achieve. Can you give more details or a test case?

yes, there are 2 worlds (pre and post editing)
after bpmnModeler.importXML there is a collapsed property,
but after editing and updateProperties collapsed is missing.

In general, what is the best way to update elementregistry after editing?


Unfortunately there is no standard way of determining if an element is collapsed. You can use DiUtil#isExpanded.

thank you!! alternatively, I would do: