if(m_DiagramType == STAGGEREDPROCESS)
m_Diagram = new StaggeredProcess(this, getGui(), m_xFrame);
if(m_DiagramType == BENDINGPROCESS)
m_Diagram = new BendingProcess(this, getGui(), m_xFrame);
if(m_DiagramType == UPWARDARROWPROCESS)
m_Diagram = new UpwardArrowProcess(this, getGui(), m_xFrame);
}