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

    This DataflowGraphBuilder extends DataflowGraph with builder methods to easily and compactly add vertices and edges to a dataflow graph. Its usage thus simplifies writing tests for dataflow graphs.

    Type Parameters

    Hierarchy (View Summary)

    Index
    rootVertices: Set<NodeId> = ...

    Contains the vertices of the root level graph (i.e., included those vertices from the complete graph, that are nested within function definitions)

    • Whether the graph contains a node with id (checking function definitions too if includeDefinedFunctions).

      Parameters

      • id: NodeId
      • includeDefinedFunctions: boolean = true

      Returns boolean

    • Merges otherGraph into this one in-place (the return value is only for convenience); mergeRootVertices = false excludes its root vertices (useful when merging in a function definition).

      consume takes otherGraph's edge tables instead of copying them (perf). Pass it only for a graph that dies with the call.

      Parameters

      Returns this