Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3782

jBPM Console Process Diagram adds an out-of-place marker in case of Swimlane

    XMLWordPrintable

Details

    Description

      If a node is inside a Swimlane, 'Diagram' button for process instance displays png image with a marker but it's not correctly placed on the active node. See attached swimlane-marker.png.

      Node's x/y values (<bpmndi:BPMNShape>) in bpmn file are relative position to Swimlane position but the parser (org.jbpm.bpmn2.xml.di.BPMNPlaneHandler) doesn't take into account it.

      Probably, possible fixes would be:

      A) Calculate and store Node's x/y values as absolute position at parsing time

      or

      B) Store Swimlane's x/y values at parsing time and calculate Node's absolute position at rendering time (org.jbpm.integration.console.graph.GraphViewerPluginImpl)

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: