anvaka / anvaka/ngraph.forcelayout

When unpinning a node, it bounces like crazy

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
215
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hey,

at first, awesome library. I have been using it for my visualization project https://ledger.observer
However, I'm facing some minor issue: When you go to the website, click a node and afterwards click on "Clear address" on the top left, you can see that the force layout algorithm lets this node bounce, instead of smoothly integrating its position.
I'm not sure if this is a bug or even if this can be fixed. I assume that the layout algorithm urges to fix the nodes position forcefully.

Is there any way to achieve a smoother transition when unpinning a node?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue at https://ledger.observer by selecting a node and clicking “Clear address” in the top left. Investigate the force-layout behavior involved in unpinning that node; done means the node transitions smoothly into the layout without excessive bouncing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.