newntui/discovermdi/src/disgraphnode.cpp
//----------------------------------------------------------------------------------
// This constructor creates new empty node - a child of the "graph". You need to 
// call "SetNode" member function to assign scripts and styles to this node
//----------------------------------------------------------------------------------
This constructor creates new empty node - a child of the "graph". You need to
call "SetNode" member function to assign scripts and styles to this node
This constructor creates new empty node - a child of the " graph " . You need to call " SetNode " member function to assign scripts and styles to this node
CDisGraphNode::CDisGraphNode(TSDigraph* graph):TSNode(graph) {
	m_ParentGraph=(CDisGraph *)graph;
	m_NodeID = -1;
	m_NodeNameExtractor   = "";
	m_NodeImageExtractor  = "";
	m_FieldNameExtractor  = "";
	m_FieldImageExtractor = "";
	m_NodeUnselected  = NULL;
	m_NodeSelected    = NULL;
	m_NodeFocused     = NULL;
	m_EdgeUnselected  = NULL;
	m_EdgeSelected    = NULL;
	m_EdgeFocused     = NULL;
	m_SelectStatus= FALSE;
	m_ChildrenCreated = FALSE;
	m_ParentsCreated = FALSE;
	m_Collapsed=FALSE;
	m_ParentsCollapsed=FALSE;
	m_ChildNode=TRUE;
	m_ParentNode=TRUE;
	m_HeaderHeight = 0;
}
CDisGraphNode :: CDisGraphNode ( TSDigraph * graph ) : TSNode ( graph ) { m_ParentGraph = ( CDisGraph * ) graph ; m_NodeID = -1 ; m_NodeNameExtractor = " " ; m_NodeImageExtractor = " " ; m_FieldNameExtractor = " " ; m_FieldImageExtractor = " " ; m_NodeUnselected = NULL ; m_NodeSelected = NULL ; m_NodeFocused = NULL ; m_EdgeUnselected = NULL ; m_EdgeSelected = NULL ; m_EdgeFocused = NULL ; m_SelectStatus = FALSE ; m_ChildrenCreated = FALSE ; m_ParentsCreated = FALSE ; m_Collapsed = FALSE ; m_ParentsCollapsed = FALSE ; m_ChildNode = TRUE ; m_ParentNode = TRUE ; m_HeaderHeight = 0 ; }
This constructor creates new empty node - a child of the "graph".
This constructor creates new empty node - a child of the " graph " .