newntui/discovermdi/src/disgraphnode.cpp
//------------------------------------------------------------------------------------
// This function will show all node parents
//------------------------------------------------------------------------------------
This function will show all node parents
This function will show all node parents
void CDisGraphNode::ExpandParents() {
TSDList newNodeDList;
TSDList newEdgeDList;
CDisGraphNode* pNode;
   unhideParents(&newNodeDList,&newEdgeDList,1);
   m_ParentsCollapsed=FALSE;
   TSDListIterator nodeIterator(&newNodeDList);
   while(nodeIterator) {
	   pNode = (CDisGraphNode *) nodeIterator.pObject();
	   if(pNode->IsParentsCollapsed()==FALSE) pNode->ExpandParents();
	   nodeIterator++;
   }
}
void CDisGraphNode :: ExpandParents ( ) { TSDList newNodeDList ; TSDList newEdgeDList ; CDisGraphNode * pNode ; unhideParents ( & newNodeDList , & newEdgeDList , 1 ) ; m_ParentsCollapsed = FALSE ; TSDListIterator nodeIterator ( & newNodeDList ) ; while ( nodeIterator ) { pNode = ( CDisGraphNode * ) nodeIterator . pObject ( ) ; if ( pNode -> IsParentsCollapsed ( ) == FALSE ) pNode -> ExpandParents ( ) ; nodeIterator ++ ; } }
This function will show all node parents
This function will show all node parents