Skip to content

[bug] Clustering zoom/center changes inconsistently #455

@nemesifier

Description

@nemesifier

Here: https://openwisp.github.io/netjsongraph.js/examples/netjson-clustering.html
It seems to me that if I click on a node which is part of a cluster (after zooming in a bit) the zoom level changes.

In the following recordings, clicking on single nodes, some times changes the zoom level and center of the map some times doesn't:

Image

This behavior looks inconsistent to me.

I believe we should zoom in only when clicking on a cluster, when clicking on a single node we shouldn't do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    To do

    Status

    To do (general)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions