newntui/discovermdi/src/disgraphnode.cpp
void CDisGraphNode::HideChildren(void) {
TSDList newNodeDList;
TSDList newEdgeDList;
CDisGraphNode* pNode;

   findChildren(&newNodeDList,&newEdgeDList,1);
   TSDListIterator nodeIterator(&newNodeDList);
   while(nodeIterator) {
	   pNode = (CDisGraphNode *) nodeIterator.pObject();
	   pNode->HideChildren();
	   nodeIterator++;
   }
   hideChildren(&newNodeDList,&newEdgeDList,1);
}
//------------------------------------------------------------------------------------
// This function will recursively hide node parents.
//------------------------------------------------------------------------------------
This function will recursively hide node parents.
This function will recursively hide node parents .
void CDisGraphNode::HideChildren(void) {
TSDList newNodeDList;
TSDList newEdgeDList;
CDisGraphNode* pNode;
   findChildren(&newNodeDList,&newEdgeDList,1);
   TSDListIterator nodeIterator(&newNodeDList);
   while(nodeIterator) {
	   pNode = (CDisGraphNode *) nodeIterator.pObject();
	   pNode->HideChildren();
	   nodeIterator++;
   }
   hideChildren(&newNodeDList,&newEdgeDList,1);
}
void CDisGraphNode :: HideChildren ( void ) { TSDList newNodeDList ; TSDList newEdgeDList ; CDisGraphNode * pNode ; findChildren ( & newNodeDList , & newEdgeDList , 1 ) ; TSDListIterator nodeIterator ( & newNodeDList ) ; while ( nodeIterator ) { pNode = ( CDisGraphNode * ) nodeIterator . pObject ( ) ; pNode -> HideChildren ( ) ; nodeIterator ++ ; } hideChildren ( & newNodeDList , & newEdgeDList , 1 ) ; }
This function will recursively hide node parents.
This function will recursively hide node parents .