How can I do to simulate a click of the shape task from a button that is outside the diagram to show the contextPad.
help please!!
How can I do to simulate a click of the shape task from a button that is outside the diagram to show the contextPad.
help please!!
The context pad opens automatically when an element is selected.
const elementRegistry = modeler.get('elementRegistry'),
selection = modeler.get('selection');
const task = elementRegistry.get('Task_1');
selection.select(task);