API

Function ParseFlowGraphFromSnippetAsync

  • Parses a flow graph from a snippet saved by the Flow Graph Editor. If the snippet contains multiple graphs, all graphs are parsed into the provided coordinator and the active graph is returned.

    Parameters

    • snippetId: string

      the snippet id to load. Versioned ids such as "ABC123#4" are supported.

    • options: IFlowGraphParseOptions

      options for parsing the graph.

    Returns Promise<FlowGraph>

    the parsed flow graph.