This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Description
Currently, the demo uses custom code to get elements by name, then the retrieved ids are passed to the API of bpmn-visualization.
We could use the API provided by bv-experimental-add-ons that directly use names as parameters:
Done at least in:
|
export function getBpmnActivityElementbyName(activityName){ |
|
if(globals.bpmnActivityElements){ |
|
return globals.bpmnActivityElements.find((elt) => elt.bpmnSemantic.name === activityName); |
|
} |
|
return null |
|
} |