bpmn-visualization-js
bpmn-visualization-js copied to clipboard
[FEAT] Allow to enable or disable diagram navigation support at runtime
Currently, we can only configure globally it at initialization time. This is not possible to enable or disable it afterwards. Let’s allow this to change at runtime to provide more flexibility.
Possible use case: allow navigation for accessing a task on the diagram. Once the task is displayed, a specific user action is required (read extra information, select the task and do something on it). So, disable navigation to ensure this task is always visible while the user manages the action. Then, enable navigation back.
@brendanlaschke proposed a PR to implement this issue: #2671