ConstCompare two dataflow graphs and return a report on the differences.
If you simply want to check whether they equal, use <result>.isEqual().
Optionalconfig: Partial<GenericDiffConfiguration>Inverts the given dataflow graph by reversing all edges.
Resolves the dataflow graph ids from slicing criterion form to ids.
This returns a new graph with the resolved ids.
The main use-case for this is testing - if you do not know/want to fix the specific id,
you can use, e.g. 2@x as a placeholder for the first x in the second line!
OptionalidMap: AstIdMapReadonlyvisualize: {Maps to the mermaid-centric visualization helper for dataflow graphs and their views
Readonlymermaid: {Mermaid rendering helper for dataflow graphs
Converts a dataflow graph to mermaid graph code that visualizes the graph.
DataflowMermaid.url - render the given graph to a url to mermaid.live
Readonlyname: "DataflowMermaid"This is a simplified version of DataflowMermaid.convertToMermaid
OptionalincludeEnvironments: booleanOptionalmark: ReadonlySet<NodeId>Converts a dataflow graph to a mermaid url that visualizes the graph. This is basically a combination of DataflowMermaid.mermaidRaw and Mermaid.codeToUrl.
the dataflow graph to render
OptionalincludeEnvironments: booleanwhether to include the environment content in the output
Optionalmark: ReadonlySet<NodeId>which vertices to highlight in the visualization
whether to show a simplified use of the graph with fewer details on the vertices and edges
Readonlyquads: {Readonlyconvert: (graph: DataflowGraph, config: QuadSerializationConfiguration) => string
The underlying functions which work for any graph* like view Please do not use this object directly but use the helpers