A context that can be used by differencing functions to compare two graphs See initDiffContext for a function that creates such a context.

interface GraphDiffContext<Graph = DataflowGraph> {
    config: GenericDiffConfiguration;
    left: Graph;
    leftname: string;
    position: string;
    report: GraphDifferenceReport;
    right: Graph;
    rightname: string;
    [key: string]: unknown;
}

Type Parameters

Hierarchy (View Summary)

Indexable

  • [key: string]: unknown

Hierarchy-Diagram

UML class diagram of GraphDiffContext

Properties

left: Graph
leftname: string

A human-readable name for the left structure in left == right.

position: string

A human-readable indication of where we are (the prefix of the information if the structures differ)

The report on the difference of the two structures.

right: Graph
rightname: string

A human-readable name for the right structure in left == right.