@eagleoutice/flowr - v2.15.9
    Preparing search index...

    Variable GraphDiffConst

    GraphDiff: {
        edges<Edge, Graph>(
            this: void,
            ctx: GraphDiffContext<Graph>,
            id: NodeId,
            lEdges: ReadonlyMap<NodeId, Edge> | undefined,
            rEdges: ReadonlyMap<NodeId, Edge> | undefined,
            diffEdge: (
                edge: Edge,
                otherEdge: Edge,
                ctx: GraphDiffContext<Graph>,
                id: NodeId,
                target: NodeId,
            ) => void,
        ): void;
        outgoingEdges<EdgeMap, Graph extends EdgeIndexedGraph<EdgeMap>>(
            this: void,
            ctx: GraphDiffContext<Graph>,
            diffEdges: (
                ctx: GraphDiffContext<Graph>,
                id: NodeId,
                lEdges: EdgeMap | undefined,
                rEdges: EdgeMap | undefined,
            ) => void,
            project?: (edges: EdgeMap) => EdgeMap | undefined,
        ): void;
    } = ...

    The edge-differencing steps shared by the dataflow and the control flow graph diff.

    Type Declaration

    • edges: function
      • Compares the outgoing edges of a single vertex, handing each pair of edges to diffEdge.

        Type Parameters

        • Edge
        • Graph

        Parameters

        Returns void

    • outgoingEdges: function
      • Compares all edges of both graphs vertex by vertex, handing each pair to diffEdges.

        Type Parameters

        Parameters

        • this: void
        • ctx: GraphDiffContext<Graph>
        • diffEdges: (
              ctx: GraphDiffContext<Graph>,
              id: NodeId,
              lEdges: EdgeMap | undefined,
              rEdges: EdgeMap | undefined,
          ) => void
        • Optionalproject: (edges: EdgeMap) => EdgeMap | undefined

        Returns void