newntui/discovermdi/src/disgraphnode.cpp
/////////////////////////////////////////////////////////////////////////////////////
// This class represents the relation between graph nodes. Every relation has 
// it's id, passed to the constructor as "relationID". Thee edge properties pointers
// specify the way the edge will look if unselected, if selected or if focused.
// The edges are created from the node by calling "CreateChildNodes" method with the
// relation id = 0 (for parent-child relations) or by the "CreateRelations" method
// with relations ID  passed as a parameter. The edges will be removed if any node
// it connects is removed or by calling "RemoveRelations" node method with the 
// relation ID.
/////////////////////////////////////////////////////////////////////////////////////
This class represents the relation between graph nodes. Every relation has
it's id, passed to the constructor as "relationID". Thee edge properties pointers
specify the way the edge will look if unselected, if selected or if focused.
The edges are created from the node by calling "CreateChildNodes" method with the
relation id = 0 (for parent-child relations) or by the "CreateRelations" method
with relations ID  passed as a parameter. The edges will be removed if any node
it connects is removed or by calling "RemoveRelations" node method with the
relation ID.
This class represents the relation between graph nodes . Every relation has it ' s id passed to the constructor as " relationID " . Thee edge properties pointers specify the way the edge will look if unselected if selected or if focused . The edges are created from the node by calling " CreateChildNodes " method with the relation id = 0 ( for parent - child relations ) or by the " CreateRelations " method with relations ID passed as a parameter . The edges will be removed if any node it connects is removed or by calling " RemoveRelations " node method with the relation ID .
CDisGraphEdge::CDisGraphEdge(CDisGraph* graph,
				             int relationID,
						     CEdgeProperties* unselected,
						     CEdgeProperties* selected,
							 CEdgeProperties* focused):TSEdge(graph) {
	m_ParentGraph  = graph;
	m_RelationID   = relationID;
	m_Unselected   = unselected;
    m_Selected     = selected;
	m_Focused      = focused;
	m_SelectStatus = FALSE;
}
CDisGraphEdge :: CDisGraphEdge ( CDisGraph * graph , int relationID , CEdgeProperties * unselected , CEdgeProperties * selected , CEdgeProperties * focused ) : TSEdge ( graph ) { m_ParentGraph = graph ; m_RelationID = relationID ; m_Unselected = unselected ; m_Selected = selected ; m_Focused = focused ; m_SelectStatus = FALSE ; }
This class represents the relation between graph nodes.
This class represents the relation between graph nodes .