Skip to content

Drop of ControlFlow into an Activity diagram does not automatically connect the arrow to the source and target objects in the diagram #3477

@pbrown12303

Description

@pbrown12303

Describe the bug

When programmatically creating an activity diagram, if you drop a ControlFlow that has its source and target set into the diagram and the diagram already contains images of the source and target elements, the control flow image is not automatically connected to the source and target images.

To Reproduce

Steps to reproduce the behavior:

  1. Create an Activity and an Activity Diagram programmatically
  2. Create two actions, A and B.
  3. Drop actions A and B onto the diagram
  4. Create a ControlFlow. Set its source and target to actions A and B.
  5. Drop the ControlFlow onto the diagram.

Expected behavior

The ControlFlow should connect automatically to the end-point images.

Screenshots

If applicable, add screenshots to help explain your problem.

OS

  • Linux (Please put in notes the specific distro)
  • macOS
  • Windows

Version

Version of Gaphor: 2.26.0

Additional information

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions