if(m_DiagramType == SIMPLEORGANIGRAM)
m_Diagram = new SimpleOrgChart(this, getGui(), m_xFrame);
if(m_DiagramType == HORIZONTALORGANIGRAM)
m_Diagram = new HorizontalOrgChart(this, getGui(), m_xFrame);
if(m_DiagramType == TABLEHIERARCHYDIAGRAM)
m_Diagram = new TableHierarchyOrgChart(this, getGui(), m_xFrame);
if(m_DiagramType == ORGANIGRAM)
m_Diagram = new OrgChart(this, getGui(), m_xFrame);
if(m_DiagramType == VENNDIAGRAM)
m_Diagram = new VennDiagram(this, getGui(), m_xFrame);
if(m_DiagramType == CYCLEDIAGRAM)