Skip to content
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

Graph layout converges but graph keeps rotating around center of mass #2193

Open
ilteroi opened this issue Nov 22, 2024 · 0 comments
Open

Graph layout converges but graph keeps rotating around center of mass #2193

ilteroi opened this issue Nov 22, 2024 · 0 comments

Comments

@ilteroi
Copy link

ilteroi commented Nov 22, 2024

I have a graph which looks like this:

image

And while the general layout converges quickly, the whole "wheel" keeps rotating forever. This is reproducable, independent of the randomized initial layout. However it only happens with the atlas2 based layout (which seems to give the nicest results in principle ...)

It's using the following parameters:

        'physics': {
            "forceAtlas2Based": { "springLength": 100 },
            "minVelocity": 0.75,
            "solver": "forceAtlas2Based",
            'stabilization': { 'iterations': 20 }
        }

This is with visdcc 0.0.50 (not clear to me which visjs version that is).

Is this known behavior? Is there a workaround? (except avoiding atlas2 ...)

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

No branches or pull requests

1 participant