Add a NodeGraph to the document. @param name The name of the new NodeGraph. If no name is specified, then a unique name will automatically be generated. @return A shared pointer to the new NodeGraph.
| 94 | /// generated. |
| 95 | /// @return A shared pointer to the new NodeGraph. |
| 96 | NodeGraphPtr addNodeGraph(const string& name = EMPTY_STRING) |
| 97 | { |
| 98 | return addChild<NodeGraph>(name); |
| 99 | } |
| 100 | |
| 101 | /// Return the NodeGraph, if any, with the given name. |
| 102 | NodeGraphPtr getNodeGraph(const string& name) const |