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
Current situation
For #929, we need to get BPMN information: currently we used data from the mxgraph model, which implies parsing and make us very adherent to the rendering lib, whereas we may have to remove mxgraph (see #917)
We need search capabilities on top of the diagram, at least for #927 and #942: for now, at least by id and by bpmn kind (shape or edge).
In version 0.9.0 and earlier, the model is created on BPMN diagram load and only used for the rendering. Once this is done, we drop it and so it is not possible to use it afterwards.
We also have a DisplayedModel which is a view of the part of the diagram that is actually rendered. This DisplayedModel is ephemeral.
As of 0.12.2, we have a RenderedModel that is partially stored in memory as SearchableModel for elements search. See #1115
Proposal overview
Keep the BpmnModel into memory and add it search capabilities, directly or to an implementation allowing to search it.
Then uses it as replacement of mxGraph for BPMN info retrieval and of some CSS selectors.
Keeping the BpmnModel into memory would provide other opportunities:
Current situation
For #929, we need to get BPMN information: currently we used data from the mxgraph model, which implies parsing and make us very adherent to the rendering lib, whereas we may have to remove mxgraph (see #917)
We need search capabilities on top of the diagram, at least for #927 and #942: for now, at least by id and by bpmn kind (shape or edge).
In version
0.9.0
and earlier, the model is created on BPMN diagram load and only used for the rendering. Once this is done, we drop it and so it is not possible to use it afterwards.We also have a
DisplayedModel
which is a view of the part of the diagram that is actually rendered. ThisDisplayedModel
is ephemeral.As of
0.12.2
, we have aRenderedModel
that is partially stored in memory asSearchableModel
for elements search. See #1115Proposal overview
Keep the BpmnModel into memory and add it search capabilities, directly or to an implementation allowing to search it.
Then uses it as replacement of mxGraph for BPMN info retrieval and of some CSS selectors.
Keeping the BpmnModel into memory would provide other opportunities:
Implementation proposals
TO be discussed
The text was updated successfully, but these errors were encountered: