Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5676

BPMN Editor - Containment not working when Node overlaps the Connector while splicing

    XMLWordPrintable

Details

    • 2021 Week 31-33 (from Aug 2), 2021 Week 34-36 (from Aug 23), 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4)
    • Hide
      1. Add a container (e.g. Lane) to the canvas.
      2. Create two nodes (e.g. Tasks) inside container (e.g. Lane) and connect them with sequence flow.
        • Make sure both Tasks are horizontally aligned and the connector between the Tasks is long enough to perform the line splicing.
      3. Create any node on canvas (e.g. Gateway) outside the container.
      4. Select the node outside the lane and drag it over the connector and drop it once the sequence flow is "going through" the middle of the node.
      5. Move with the container.

      Actual result

      The node placed on sequence flow (e.g. Gateway) is placed outside the container. The node may be not visible since the container may cover the node. If you move with the container far enough, the node will be visible.

      Expected result

      The node placed on sequence flow (e.g. Gateway) is placed and shown inside the container.

      Show
      Add a container (e.g. Lane) to the canvas. Create two nodes (e.g. Tasks) inside container (e.g. Lane) and connect them with sequence flow. Make sure both Tasks are horizontally aligned and the connector between the Tasks is long enough to perform the line splicing. Create any node on canvas (e.g. Gateway) outside the container. Select the node outside the lane and drag it over the connector and drop it once the sequence flow is "going through" the middle of the node. Move with the container. Actual result The node placed on sequence flow (e.g. Gateway) is placed outside the container. The node may be not visible since the container may cover the node. If you move with the container far enough, the node will be visible. Expected result The node placed on sequence flow (e.g. Gateway) is placed and shown inside the container.
    • User Experience

    Description

      When the line splice is being executed into a container such a Lane, there is a point where the EDITOR does not recognize the node is above a Lane and does not perform the containment operation. By moving the dragged node slightly away from above or below the Sequence Flow the containment happens.

      It can be checked by observing the shading of the Lane (containment indicator) when dragging a node over the Sequence flow. There is point where the shading of the Lane (containment indicator) is not there and if the node is dropped when the Lane’s shade is not visible the containment won’t be executed.

      Acceptance Criteria

      Line splice and containment are executed when the shape is dropped into the Lane and there is a valid intersection with the Sequence Flow. The issue applies only to dragging nodes from canvas, but not directly from palette.

       

      Attachments

        Issue Links

          Activity

            People

              handreyrc Handrey Cunha
              handreyrc Handrey Cunha
              Lubomír Terifaj Lubomír Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: