GetAllNodes
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <graph/graph.h>
- Library file: libgraph.so
Function Usage
Obtains all nodes from a graph, including the nodes of subgraphs in the graph.
Prototype
1 | std::vector<GNode> GetAllNodes() const |
Parameters
None
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
std::vector<GNode> |
All nodes in the graph, which are output in the sequence of the topological order. |
Constraints
None
Parent topic: Graph