Is pool collapsed or expanded?


#1

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


#2

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


#3

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?
Re-bpmnModeler.importXML?

58


#4

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


#5

thank you!! alternatively, I would do:
bpmnModeler.saveXML(function(err,xml){bpmnModeler.importXML(xml,function(err){});})