Neo4j Visualization Library
    Preparing search index...

    Interface CircularOptions

    The options for the circular layout.

    interface CircularOptions {
        sortFunction?: (nodes: Node[]) => Node[];
    }
    Index
    sortFunction?: (nodes: Node[]) => Node[]

    Function which should return the sorted nodes. Nodes are placed around the circle in the returned order.

    Changing this via NVL.setLayoutOptions does not re-run the layout on its own. Switch to another layout and back with NVL.setLayout, or call NVL.restart, to re-place nodes.