Skip to content

fix() : Arrow connection appears misaligned issue - #81

Open
skr9815 wants to merge 1 commit into
Vrun-design:mainfrom
skr9815:fix/arrow-bug
Open

skr9815 wants to merge 1 commit into
Vrun-design:mainfrom
skr9815:fix/arrow-bug

Conversation

@skr9815

@skr9815 skr9815 commented Sep 12, 2026 •

Copy link
Copy Markdown

PR Description
Summary
Fixes an edge-routing bug where connector arrows could terminate in empty space instead of visually attaching to the destination node. This was especially noticeable when multiple edges shared a target or when endpoint spacing adjustments were applied for sibling routing.

What changed
Kept the final edge endpoint anchored to the actual target handle position rather than offsetting it during sibling/fanout routing.
Preserved route spacing and corridor logic for source-side branching, without letting that offset distort the final connection point.
Added/updated routing safeguards so imported or stale ELK routes still fall back cleanly when the geometry no longer matches the live node positions.
Why this fixes the bug
The root problem was that the path generator used route offsets as if they were the true terminal coordinates. That caused the arrowhead to stop short of the destination node and appear disconnected. By pinning the final endpoint to the real target handle, the arrow always connects properly while the route can still bend around neighboring edges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant