Skip to content

Network clustering nodes which have a common property #1147

Open
@JJn9

Description

@JJn9

Hello, I'm trying to create a cluster of nodes based on a node property.
The documentation mentions :
var options = { joinCondition:function(nodeOptions) { return nodeOptions.cid === 1; } }

In this case only nodes with cid == 1 will be in the same cluster, I was wondering if it was possible to cluster all nodes based on their cid value within a single joinCondition or do I have to create a function for each cid possible values ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions