Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-3435

Migrate cockpit to bpmn.io

    XMLWordPrintable

Details

    Description

      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-

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                michael.schoettes Michael Schoettes
                valentin.vago Valentin
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce