-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
AT:
- the current diagram renderer in cockpit is replaced by bpmn.io
Topics
Internet Exprlorer 9 compatibility (potential blocker!!!)
IE9 may not be fully supported by bpmn.io. This needs investigation
See also: https://github.com/bpmn-io/diagram-js/issues/14
Interaction
There is two-way interaction between the diagram and the rest of the cockpit app.
We need to understand this interaction and port it to bpmn.io
See also: https://github.com/bpmn-io/bpmn-js-examples/tree/master/interaction
Decorations and Annotations
cockpit annotates the diagram:
- selection marker (selected activities)
- badges (number of active activity instances, suspension, history badges ...)
The annotations need to be ported to bpmn.io
angular js integration
When we receive events from the renderer we may need to do scope.$apply()
model traversing
the parsed bpmn model is iterated in the browser
Sdk integration
the widget may use the sdk to fetch the diagram source from the rest api
Widget
Ideally the bpmn.io renderer is provided as widget in commons-ui. Could be a directive which handles rendering of the diagram and supports binding of certain renderer events to scope functions / expressions
<div cam-diagram cam-diagram-src="..." cam-
This is the controller panel for Smart Panels app
- depends on
-
CAM-3550 Create bpmn viewer widget
- Closed
- is related to
-
CAM-3546 cockpit and "mac two finger scroll" are not compatible
- Closed
-
CAM-2905 Cockpit remembers diagram zoom level and view section
- Closed
-
CAM-2906 Cockpit remembers scroll and paging position
- Closed
-
CAM-3637 Use bpmn.io for model traversing in cockpit
- Closed
-
CAM-3645 After page refresh current selection is not shown on diagram in cockpit
- Closed