CallGraph: {
    compute(this: void, graph: DataflowGraph): CallGraph;
    computeSubCallGraph(
        this: void,
        graph: CallGraph,
        entryPoints: Set<NodeId>,
    ): CallGraph;
    diffGraphs(
        this: void,
        left: NamedGraph,
        right: NamedGraph,
        config?: Partial<GenericDiffConfiguration>,
    ): GraphDifferenceReport;
    dropTransitiveEdges(this: void, graph: CallGraph): CallGraph;
    invertGraph(
        this: void,
        graph: DataflowGraph,
        cleanEnv: REnvironmentInformation,
    ): DataflowGraph;
    name: "CallGraph";
    reaches(
        this: void,
        from: NodeId,
        to: NodeId,
        graph: DataflowGraph,
        knownReachability?: DefaultMap<NodeId, Set<NodeId>>,
    ): boolean;
    resolveGraphCriteria(
        graph: DataflowGraph,
        ctx: ReadOnlyFlowrAnalyzerContext,
        idMap?: AstIdMap,
    ): DataflowGraph;
    visualize: {
        mermaid: {
            convert(
                this: void,
                config: MermaidGraphConfiguration,
            ): { mermaid: MermaidGraph; string: string };
            name: "DataflowMermaid";
            raw(
                this: void,
                graph:
                    | DataflowInformation
                    | DataflowGraph<DataflowGraphVertexInfo, DfEdge>,
                includeEnvironments?: boolean,
                mark?: ReadonlySet<NodeId>,
                simplified?: boolean,
            ): string;
            url(
                this: void,
                graph:
                    | DataflowInformation
                    | DataflowGraph<DataflowGraphVertexInfo, DfEdge>,
                includeEnvironments?: boolean,
                mark?: ReadonlySet<NodeId>,
                simplified?: boolean,
            ): string;
        };
        quads: {
            convert: (
                graph: DataflowGraph,
                config: QuadSerializationConfiguration,
            ) => string;
        };
    };
}

Helper object for call-graphs, you can compute new call graphs based on CallGraph.compute.

Type declaration