@openhps/core
    Preparing search index...

    Class GraphBuilder<In, Out>

    Graph builder

    Type Parameters

    Hierarchy (View Summary)

    Index
    graph: GraphShape<In, Out>
    • Event when graph is ready

      Parameters

      • name: "ready"

        ready

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

        Event callback

      Returns this

    • Event before building the graph

      Parameters

      • name: "prebuild"

        prebuild

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

        Event callback

      Returns this

    • Event after building the graph

      Parameters

      • name: "postbuild"

        postbuild

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

        Event callback

      Returns this