Lines Matching refs:graph
7 Conceptually a flow graph is a collection of nodes and edges. Each node
8 belongs to exactly one graph and edges are made only between nodes in
9 the same graph. In the flow graph interface, a graph object represents
10 this collection of nodes and edges, and is used for invoking whole graph
11 operations such as waiting for all tasks related to the graph to
12 complete, resetting the state of all nodes in the graph, and canceling
13 the execution of all nodes in the graph.
16 The code below creates a graph object and then waits for all tasks
17 spawned by the graph to complete. The call to ``wait_for_all`` in this
18 example returns immediately since this is a trivial graph with no nodes
25 graph g;
28 …graph object does not own the nodes associated with it. You need to make sure that the graph objec…
30 .. tip:: Call ``wait_for_all`` on a graph object before destroying it to make sure all activities a…
32 …f the order of destruction for nodes and the graph to make sure that nodes are not deleted before …