Skip to content

Network cannot be positioned by the improved layout algorithm - clustering bug #2257

@nicolasvallee

Description

@nicolasvallee

Hello dear vis contributors,

In LayoutEngine.js one can read the following about the improvedLayout option

 // if there are a lot of nodes, we cluster before we run the algorithm.
 // NOTE: this part fails to find clusters for large scale-free networks, which should
 //       be easily clusterable.
 // TODO: examine why this is so

and I am indeed encountering this issue every time my graph size exceeds the provided clusterThreshold limit (default to 150).

Has there already been some investigation on this? I suspect the performance of vis to be tremendously improved if we are able to fix this, both in performance and the ability fo generate nicely spread out graphs (for example mesh/grid graphs which currently get stuck in a messy folded graph). I am willing to help and wondering if anyone has an idea already, seems like this bug has been here for a long time.

Thanks,

Nico

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions