Rationale
See #73
Proposal
Note: the existing ElementsPlugin provides several methods taking "kinds" parameters (#77) that are not related to names or ids. It should be also available in the "name based" plugin (we could introduce a base class for both plugins).
Example of usage
const elementsPlugin = bpmnVisualization.getPlugin<ElementsByNamePlugin>(‘elements-by-name’);
overlaysPlugin.getElementsByName('activity-name-1', {...})
Rationale
See #73
Proposal
ElementsByNamePlugin(find a better name)elements-by-namegetElementsByNameand we could also propose the other methods (by kinds, ...) fromBpmnElementsRegistry+ Be also aware of the upcoming [FEAT] Add new methods to only retrieve the BPMN semantic of elements in the model bpmn-visualization-js#2813Note: the existing
ElementsPluginprovides several methods taking "kinds" parameters (#77) that are not related to names or ids. It should be also available in the "name based" plugin (we could introduce a base class for both plugins).Example of usage