Skip to content

[Bug]: Standalone Link Routing with Libavoid throws error for crowded links and brakes Paper #2914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KMordalski opened this issue Mar 31, 2025 · 1 comment
Labels
bug integration JointJS integrated with another framework / library

Comments

@KMordalski
Copy link

KMordalski commented Mar 31, 2025

Current versus expected behaviour

When user creates more than a few links (around 7)* between 2 elements and then moves third element near the links the Paper freezes or breaks in non-deterministic way.

*The higher value of idealNudgingDistance parameter the lower number of links is required to reproduce the issue.

Image

Similar issue has been reported for libavoid-js which is used by JointJs.

Expected behavior:

As a user I expect to have reliable standalone routing which not break.
JointJs should gracefully handle libavoid failure and keep diagram working.

Steps to reproduce

Naive reproduction steps:

  1. Go to Standalone Link Routing with Libavoid demo page
  2. Create 7 links between two elements
  3. Drag slowly third element onto created links

Watch video with reproduction:

reproduction_joint.mov

Version

4.1

What browsers are you seeing the problem on?

No response

What operating system are you seeing the problem on?

No response

@kumilingus
Copy link
Contributor

This issue needs to be addressed in the libavoid library.

@kumilingus kumilingus added the integration JointJS integrated with another framework / library label Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug integration JointJS integrated with another framework / library
Projects
None yet
Development

No branches or pull requests

2 participants