interface MermaidGraph {
    edgeLines: string[];
    includeEnvironments: boolean;
    mark: undefined | ReadonlySet<MermaidMarkdownMark>;
    markStyle: MermaidMarkStyle;
    nodeLines: string[];
    presentEdges: Set<string>;
    rootGraph: DataflowGraph;
    simplified?: boolean;
}

Properties

edgeLines: string[]
includeEnvironments: boolean
mark: undefined | ReadonlySet<MermaidMarkdownMark>
markStyle: MermaidMarkStyle
nodeLines: string[]
presentEdges: Set<string>

in the form of from->to because I am lazy, see encodeEdge

rootGraph: DataflowGraph
simplified?: boolean

if given, the dataflow graph will only focus on the "important" parts