Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void OglGui::Graph::ConnectNode ( Node fromNode,
Node toNode,
ULONG  startCol = oglBLACK,
ULONG  endCol = oglBLACK 
) [inline]

Definition at line 161 of file Graph.h.

References FindNodeIdx(), OglGui::Graph::NodeInfo::lineEndColors, OglGui::Graph::NodeInfo::lineStartColors, mNodes, and OglGui::Graph::NodeInfo::nodeVector.

Referenced by LabeledGraph::addNodes(), and BoostedGraph::ConnectNode().

00163     {
00164         int idx = FindNodeIdx(fromNode);
00165         if (idx==-1)
00166             return;
00167         NodeInfo& nodeInfo = mNodes[idx];
00168         nodeInfo.nodeVector.push_back(toNode);
00169         nodeInfo.lineStartColors.push_back(startCol);
00170         nodeInfo.lineEndColors.push_back(endCol);
00171     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:29 2011 for ImpalaSrc by  doxygen 1.5.1