Using libavoid algorithm in jointjs is too laggy #3290
Unanswered
Gao-Jiazhi
asked this question in
Q&A
Replies: 1 comment
|
The libavoid router can also run inside a web worker. See To run the web worker version: npx @joint/cli download libavoid-standalone-link-routing/js
cd libavoid-standalone-link-routing/js
npm install
npm run start-web-worker |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Introduction
Hello, I have purchased jointjs+, but during use, I noticed that you replaced the built-in routing algorithm with the libavoid algorithm. Referring to this example at https://www.jointjs.com/demos/libavoid-standalone-link-routing, I implemented the code. However, when there are many elements on the page, moving elements becomes very sluggish. Is there any way to optimize it? I stumbled upon this example at https://changelog.jointjs.com/rappid/examples/libavoid-ww/, but I can't find the implementation code. When there are many elements on the page, moving elements doesn't cause sluggishness. Could you tell me how this example is implemented? Looking forward to your reply, thank you
Steps to reproduce
Hello, I have purchased jointjs+, but during use, I noticed that you replaced the built-in routing algorithm with the libavoid algorithm. Referring to this example at https://www.jointjs.com/demos/libavoid-standalone-link-routing, I implemented the code. However, when there are many elements on the page, moving elements becomes very sluggish. Is there any way to optimize it? I stumbled upon this example at https://changelog.jointjs.com/rappid/examples/libavoid-ww/, but I can't find the implementation code. When there are many elements on the page, moving elements doesn't cause sluggishness. Could you tell me how this example is implemented? Looking forward to your reply, thank you
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
All reactions