Definition at line 115 of file Graph.h. References OglGui::Graph::NodeInfo::graphPtr, mNodes, OglGui::Graph::NodeInfo::nodeVector, and OglGui::Graph::NodeInfo::scaleMode. Referenced by AddNode(), LabeledGraph::addNode(), and BoostedGraph::addNode(). 00116 { 00117 NodeInfo nodeInfo; 00118 00119 nodeInfo.graphPtr = graph; 00120 nodeInfo.scaleMode = scaleOption; // 0, NoHorizontal and/or NoVertical 00121 00122 nodeInfo.nodeVector.push_back(node); 00123 mNodes.push_back(nodeInfo); 00124 return mNodes.size()-1; 00125 }
|