pivotick - v0.0.1
    Preparing search index...

    Interface TreeLayoutOptions

    interface TreeLayoutOptions {
        flipEdgeDirection: boolean;
        horizontal?: boolean;
        radial?: boolean;
        radialGap: number;
        rootId?: string;
        rootIdAlgorithmFinder: TreeLayoutAlgorithm;
        strength?: number;
        type: "tree";
    }

    Hierarchy (View Summary)

    Index

    Properties

    flipEdgeDirection: boolean

    If the direction of the edges should be flipped. This can lead to other visualization

    false
    
    horizontal?: boolean

    Should the nodes be placed horizontally rather than vertically

    false
    
    radial?: boolean

    Should the nodes be placed radially instead of vertically

    false
    
    radialGap: number

    The grap between each layers used in the radial mode

    750
    
    rootId?: string

    Specify the ID of the node to be used as the root of the tree. Keep undefined to let rooIdAlgorithmFinder to select it.

    undefined
    
    rootIdAlgorithmFinder: TreeLayoutAlgorithm

    The algorithm to use to find the root of the tree

    'MaxReachability'
    
    strength?: number

    The strength of the force keeping the nodes placed to form a tree in place

    0.1
    
    type: "tree"
    'force'