Function Graph Overview
    Preparing search index...

    Interface GraphNode

    interface GraphNode {
        type: NodeType;
        code: string;
        lines: number;
        markers: string[];
        cluster?: Cluster;
        targets: string[];
        startOffset: number;
    }
    Index

    Properties

    type: NodeType

    What type of syntax node are we representing here?

    code: string

    The actual source-code text for the node. Useful for debugging, but not much else.

    lines: number

    The number of lines-of-code the node represents. Used to determine the height of the node when rendering.

    markers: string[]

    Node markers for reachability testing

    cluster?: Cluster

    The cluster the node resides in, if any.

    targets: string[]

    All the node IDs represented by this node after simplification.

    startOffset: number

    The source-code offset the syntax represented by the node starts at. This is used for mapping between the graph and the code for navigation.