Skip to content

Support for stable order clustering #256

@meesfrensel

Description

@meesfrensel

Hi, is there support for clustering in such a way that getLeaves returns the leaves in the same order as they appear in the source data? That is, a stable clustering?

Context: photos on a map where they were taken, clustered for usability. Clicking on a cluster, we'd like to show them ordered by date. Given that the data is just a list of IDs, and they were sorted before, it doesn't really make sense (for us) to query and re-sort them after getting the leaves of a cluster. Thanks.

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