newntui/discovermdi/src/disgraphnode.cpp
//------------------------------------------------------------------------------------
// This function will show all node children
//------------------------------------------------------------------------------------
This function will show all node children
This function will show all node children
void CDisGraphNode::Expand() {
TSDList newNodeDList;
TSDList newEdgeDList;
CDisGraphNode* pNode;
   unhideChildren(&newNodeDList,&newEdgeDList,1);
   m_Collapsed=FALSE;
   TSDListIterator nodeIterator(&newNodeDList);
   while(nodeIterator) {
	   pNode = (CDisGraphNode *) nodeIterator.pObject();
	   if(pNode->IsCollapsed()==FALSE) pNode->Expand();
	   nodeIterator++;
   }
}
void CDisGraphNode :: Expand ( ) { TSDList newNodeDList ; TSDList newEdgeDList ; CDisGraphNode * pNode ; unhideChildren ( & newNodeDList , & newEdgeDList , 1 ) ; m_Collapsed = FALSE ; TSDListIterator nodeIterator ( & newNodeDList ) ; while ( nodeIterator ) { pNode = ( CDisGraphNode * ) nodeIterator . pObject ( ) ; if ( pNode -> IsCollapsed ( ) == FALSE ) pNode -> Expand ( ) ; nodeIterator ++ ; } }
This function will show all node children
This function will show all node children