Open
Graph Drawing
Framework

 v.2010.10
 

Classes | Public Member Functions | Protected Member Functions | Private Attributes

ogdf::UMLGraph Class Reference

#include <ogdf/basic/UMLGraph.h>

Inheritance diagram for ogdf::UMLGraph:
ogdf::GraphAttributes

List of all members.

Classes

class  AssociationClass
class  CliqueInfo

Public Member Functions

 UMLGraph ()
 UMLGraph (Graph &G, long initAttributes=0)
virtual ~UMLGraph ()
virtual void init (Graph &G, long initAttr)
 operator const Graph & () const
void insertGenMergers ()
node doInsertMergers (node v, SList< edge > &inGens)
void undoGenMergers ()
void replaceByStar (List< List< node > > &cliques)
void undoStars ()
void undoStar (node center, bool restoreAllEdges)
DRect cliqueRect (node v)
DPoint cliquePos (node v)
void computeCliquePosition (node center, double rectMin)
void computeCliquePosition (List< node > &adjNodes, node center, double rectMin=-1.0)
GraphpureGraph () const
void setUpwards (adjEntry a, bool b)
bool upwards (adjEntry a) const
void writeGML (const char *fileName)
void writeGML (ostream &os)
void adjustHierarchyParents ()
void sortEdgesFromLayout ()
bool isReplacement (edge e)
const SListPure< node > & centerNodes ()
void setDefaultCliqueCenterSize (double i)
double getDefaultCliqueCenterSize ()
const SListPure
< AssociationClass * > & 
assClassList () const
const AssociationClassassClass (edge e) const
node createAssociationClass (edge e, double width=1.0, double height=1.0)
void modelAssociationClasses ()
node modelAssociationClass (AssociationClass *ac)
void undoAssociationClasses ()
void undoAssociationClass (AssociationClass *ac)

Protected Member Functions

node replaceByStar (List< node > &clique, NodeArray< int > &cliqueNum)
DRect circularBound (node center)

Private Attributes

Graphm_pG
double m_cliqueCenterSize
SListPure< edgem_mergeEdges
SListPure< nodem_centerNodes
EdgeArray< bool > m_replacementEdge
NodeArray< DRectm_cliqueCircleSize
NodeArray< DPointm_cliqueCirclePos
SListPure< AssociationClass * > m_assClassList
EdgeArray< AssociationClass * > m_assClass
EdgeArray< nodem_associationClassModel
AdjEntryArray< bool > m_upwardEdge
NodeArray< nodem_hierarchyParent

Detailed Description

Definition at line 68 of file UMLGraph.h.


Constructor & Destructor Documentation

ogdf::UMLGraph::UMLGraph (  )  [inline]

Definition at line 74 of file UMLGraph.h.

ogdf::UMLGraph::UMLGraph ( Graph G,
long  initAttributes = 0 
) [explicit]
virtual ogdf::UMLGraph::~UMLGraph (  )  [virtual]

Member Function Documentation

void ogdf::UMLGraph::adjustHierarchyParents (  ) 
const AssociationClass* ogdf::UMLGraph::assClass ( edge  e  )  const [inline]

Definition at line 193 of file UMLGraph.h.

const SListPure<AssociationClass*>& ogdf::UMLGraph::assClassList (  )  const [inline]

Definition at line 191 of file UMLGraph.h.

const SListPure<node>& ogdf::UMLGraph::centerNodes (  )  [inline]

Definition at line 168 of file UMLGraph.h.

DRect ogdf::UMLGraph::circularBound ( node  center  )  [protected]
DPoint ogdf::UMLGraph::cliquePos ( node  v  )  [inline]

Definition at line 117 of file UMLGraph.h.

DRect ogdf::UMLGraph::cliqueRect ( node  v  )  [inline]

Definition at line 113 of file UMLGraph.h.

void ogdf::UMLGraph::computeCliquePosition ( node  center,
double  rectMin 
)
void ogdf::UMLGraph::computeCliquePosition ( List< node > &  adjNodes,
node  center,
double  rectMin = -1.0 
)
node ogdf::UMLGraph::createAssociationClass ( edge  e,
double  width = 1.0,
double  height = 1.0 
) [inline]

Definition at line 197 of file UMLGraph.h.

node ogdf::UMLGraph::doInsertMergers ( node  v,
SList< edge > &  inGens 
)
double ogdf::UMLGraph::getDefaultCliqueCenterSize (  )  [inline]

Definition at line 172 of file UMLGraph.h.

virtual void ogdf::UMLGraph::init ( Graph G,
long  initAttr 
) [inline, virtual]

Definition at line 83 of file UMLGraph.h.

void ogdf::UMLGraph::insertGenMergers (  ) 
bool ogdf::UMLGraph::isReplacement ( edge  e  )  [inline]

Definition at line 163 of file UMLGraph.h.

node ogdf::UMLGraph::modelAssociationClass ( AssociationClass ac  )  [inline]

Definition at line 230 of file UMLGraph.h.

void ogdf::UMLGraph::modelAssociationClasses (  )  [inline]

Definition at line 221 of file UMLGraph.h.

ogdf::UMLGraph::operator const Graph & (  )  const [inline]

Definition at line 91 of file UMLGraph.h.

Graph& ogdf::UMLGraph::pureGraph (  )  const [inline]

Definition at line 134 of file UMLGraph.h.

void ogdf::UMLGraph::replaceByStar ( List< List< node > > &  cliques  ) 
node ogdf::UMLGraph::replaceByStar ( List< node > &  clique,
NodeArray< int > &  cliqueNum 
) [protected]
void ogdf::UMLGraph::setDefaultCliqueCenterSize ( double  i  )  [inline]

Definition at line 171 of file UMLGraph.h.

void ogdf::UMLGraph::setUpwards ( adjEntry  a,
bool  b 
) [inline]

Definition at line 139 of file UMLGraph.h.

void ogdf::UMLGraph::sortEdgesFromLayout (  ) 
void ogdf::UMLGraph::undoAssociationClass ( AssociationClass ac  )  [inline]

Definition at line 252 of file UMLGraph.h.

void ogdf::UMLGraph::undoAssociationClasses (  )  [inline]

Definition at line 242 of file UMLGraph.h.

void ogdf::UMLGraph::undoGenMergers (  ) 
void ogdf::UMLGraph::undoStar ( node  center,
bool  restoreAllEdges 
)
void ogdf::UMLGraph::undoStars (  ) 
bool ogdf::UMLGraph::upwards ( adjEntry  a  )  const [inline]

Definition at line 140 of file UMLGraph.h.

void ogdf::UMLGraph::writeGML ( ostream &  os  ) 
void ogdf::UMLGraph::writeGML ( const char *  fileName  ) 

Member Data Documentation

Definition at line 311 of file UMLGraph.h.

Definition at line 310 of file UMLGraph.h.

Definition at line 312 of file UMLGraph.h.

Definition at line 300 of file UMLGraph.h.

Definition at line 297 of file UMLGraph.h.

Definition at line 305 of file UMLGraph.h.

Definition at line 303 of file UMLGraph.h.

Definition at line 323 of file UMLGraph.h.

Definition at line 299 of file UMLGraph.h.

Definition at line 288 of file UMLGraph.h.

Definition at line 301 of file UMLGraph.h.

Definition at line 318 of file UMLGraph.h.


The documentation for this class was generated from the following file: