Function: GetSubgraph()
GetSubgraph(
node,currentNodes,currentEdges):BaseGraphState
Defined in: utils/treeUtils.ts:378
Gets the whole subgraph originating from a given node The originating node is not included, but the edge(s) from the originating node is included All further nodes and edges are included as well
Parameters
node
Node
originating node
currentNodes
Node[]
list of current nodes
currentEdges
Edge[]
list of current edges
Returns
a list of nodes and edges present in the subgraph
