Gets all subgraphs within this graph asynchronously. A subgraph is a Pregel instance that is nested within a node of this graph.
getSubgraphsAsync(
namespace: string,
recurse: boolean
): AsyncGenerator<[string, Pregel<any, any, StrRecord<string, any>, any, any, any, any, unknown, CommandInstance<unknown, Record<string, unknown>, string>, any>]>| Name | Type | Description |
|---|---|---|
namespace | string | Optional namespace to filter subgraphs |
recurse | boolean | Whether to recursively get subgraphs of subgraphs |