Closed
Description
Is your feature request related to a problem? Please describe.
#2503 will store the information in the internal model.
Then, we can help navigating into the BPMN Model when a user retrieves an BPMN element with getElementsById
and the getElementsByKind
API.
This could be a first step to implement graph related use cases, like these involving paths like described in #930.
Describe the solution you'd like
Update the object returns by the API mentioned here and include
- for shapes: incoming and outgoing edges (ids) [FEAT] BpmnElementsRegistry API returns shape incoming/outgoing #2523
- for edges: source and terminal shapes (ids) [FEAT] BpmnElementsRegistry API returns source/target for edges #2522
Additional context
This is a sub-task of #929
The API definition (i.e. the BpmnSemantic
type changes) is defined in #2504 (comment)