Neo4j Visualization Library
    Preparing search index...

    Type Alias ClusterByFn

    ClusterByFn: (nodeId: string) => ClusterId | undefined

    Function that maps a node id to a ClusterId for force-directed clustering. Returns undefined for nodes that should remain independent.

    Type Declaration

      • (nodeId: string): ClusterId | undefined
      • Parameters

        • nodeId: string

        Returns ClusterId | undefined