You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a way in the plugin to filter or deduplicate elements.
This could be a configuration of the plugin itself (done when instantiating the plugin and configured with the BpmnVisualization configuration) or a parameter of the methods of the plugin.
This has to be decided.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The existing StyleByNamePlugin relies on the getElementsByNames method of BpmnElementsSearcher to get the elements related to names using what has been introduced in #134.
But currently, it doesn't allow to deduplicate the elements that match the same name as this is possible to do in
getElementByName
method (https://github.com/process-analytics/bpmn-visualization-addons/blob/09b0e545706badfaab38cd1f5c49c963c7bdc53b/packages/addons/src/bpmn-elements.ts#L62C3-L62C19)Describe the solution you'd like
Provide a way in the plugin to filter or deduplicate elements.
This could be a configuration of the plugin itself (done when instantiating the plugin and configured with the BpmnVisualization configuration) or a parameter of the methods of the plugin.
This has to be decided.
The text was updated successfully, but these errors were encountered: