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
tbouffard
changed the title
[FEAT] Introduce various plugins to split the bpmn-visualization API provided by
[FEAT] Introduce various plugins to split the bpmn-visualization API provided by BpmnElementsRegistryAug 22, 2023
Rationale
Currently, we can do this by using the
bpmn-visualization
API provided byBpmnElementsRegistry
.Having such plugins would
BpmnElementsRegistry
. See also [REFACTOR] Split the code ofBpmnElementsRegistry
and the code of its collaborators bpmn-visualization-js#2803Proposal
methods: all related methods from
BpmnElementsRegistry
(try if we can use the Pick utility type to get the right signature)Notice that
OverlaysPlugin
already exists and some code could be shared with [FEAT] Introduce a plugin to expose the bpmn-visualization "overlays API" with names as parameters #74 (setVisible
method).ElementsPlugin
is going to expose some common methods with [FEAT] Introduce a plugin to expose the bpmn-visualization "elements API" with names as parameters #76 (search by kind), so some code could probably shared. Be also aware of the upcoming [FEAT] Add new methods to only retrieve the BPMN semantic of elements in the model bpmn-visualization-js#2813See also the plugins providing methods by name for consistency:
names
as parameters #73Tasks
The text was updated successfully, but these errors were encountered: