Class GraphBuilder<In, Out>

Graph builder

Type Parameters

Hierarchy (view full)

Constructors

Properties

graph: GraphShape<In, Out>

Methods

  • Event when graph is ready

    Parameters

    • name: "ready"

      ready

    • listener: ((model) => void | Promise<void>)

      Event callback

    Returns this

  • Event before building the graph

    Parameters

    • name: "prebuild"

      prebuild

    • listener: (() => void | Promise<void>)

      Event callback

        • (): void | Promise<void>
        • Returns void | Promise<void>

    Returns this

  • Event after building the graph

    Parameters

    • name: "postbuild"

      postbuild

    • listener: ((model) => void | Promise<void>)

      Event callback

        • (model): void | Promise<void>
        • Parameters

          • model: GraphShape<any, any>

          Returns void | Promise<void>

    Returns this