Home / Type/ SupermodelIRGraph Type — typescript-sdk Architecture

SupermodelIRGraph Type — typescript-sdk Architecture

Architecture documentation for the SupermodelIRGraph type/interface in SupermodelIRGraph.ts from the typescript-sdk codebase.

Entity Profile

Source Code

src/models/SupermodelIRGraph.ts lines 34–47

export interface SupermodelIRGraph {
    /**
     * All nodes from parse graph, call graph, and domain classification.
     * @type {Array<CodeGraphNode>}
     * @memberof SupermodelIRGraph
     */
    nodes: Array<CodeGraphNode>;
    /**
     * All relationships including contains, imports, calls, and belongsTo.
     * @type {Array<CodeGraphRelationship>}
     * @memberof SupermodelIRGraph
     */
    relationships: Array<CodeGraphRelationship>;
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free