Skip to content

On UML Sequence Diagrams floating connectors jump to vertical center #5706

Description

@s-geiger-si

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

I am opening this bug as a follow-up to #1370 (per request from @davidjgraph.

Describe the bug
The issue is that when I try to snap the second end of a connector to the activation bar, the entire connector gets vertically centered after the snapping completes.

To Reproduce

  1. Open Draw.io and create a new diagram with type sequence diagram, delete the initial diagram.
  2. Create 2 life lines.
  3. Put new activation bars on each of the life lines.
  4. Pull a "dispatch" connection onto the diagram.
  5. Place the first end of the connection with the blue frame (it correctly snaps)
  6. Place the second end of the connection with a blue frame (observe the dashed line, that shows as a preview where the connector will end-up after snapping and note that its vertically centered.

Expected behavior
Expect the connector to "snap" to the target activation bar, according to its current vertical position and NOT to the vertical center of the activation bar.

Screenshots

Image

Test .drawio file

connector-snapping-issue.drawio

Video
https://github.com/user-attachments/assets/aad32f9c-f6b0-4f7f-8ee2-5c786ab11d2a

draw.io version:

  • draw.io version v30.3.6

Desktop

  • OS: Windows

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