ProcessGraph Class Reference

Class representing a process graph. More...

List of all members.

Public Member Functions

 makeNode ($id, $label)
 This method should be used for getting new or existing nodes If a node does not exist yet, it will be created.
 makeRole ($id, $label)
 makeRessource ($id, $label)
 getEndNodes ()
 getStartNodes ()
 setShowStatus ($show)
 getShowStatus ()
 setShowRoles ($show)
 getShowRoles ()
 setShowCompound ($show)
 getShowCompound ()
 setShowDiscussion ($show)
 getShowDiscussion ()
 setShowRessources ($show)
 getShowRessources ()
 setGraphName ($name)
 getGraphName ()
 setGraphSize ($size)
 setRankdir ($rankdir)
 setClusterColor ($color)
 setHighlightColor ($color)
 setRedLinkColor ($color)
 setShowRedLinks ($show)
 setHighlightNode ($name)
 addError ($error)
 getErrors ()
 getGraphVizCode ()

Public Attributes

 $m_useHtmlNodes = true

Protected Attributes

 $m_graphName = ''
 $m_rankdir = 'TB'
 $m_graphSize = ''
 $m_clusterColor = 'lightgrey'
 $m_showStatus = false
 $m_showRoles = false
 $m_showRessources = false
 $m_showDiscussion = false
 $m_highlightNode = ''
 $m_highlightColor = 'blue'
 $m_showRedLinks = false
 $m_redLinkColor = 'red'
 $m_showCompound = true
 $m_nodes = array()
 $m_startnodes = array()
 $m_endnodes = array()
 $m_ressources = array()
 $m_roles = array()
 $m_errors = array()


Detailed Description

Class representing a process graph.

Definition at line 365 of file SRF_Process.php.


Member Function Documentation

ProcessGraph::makeNode ( id,
label 
)

This method should be used for getting new or existing nodes If a node does not exist yet, it will be created.

Parameters:
$id string, node id
$label string, node label
Returns:
Object of type ProcessNode

Definition at line 401 of file SRF_Process.php.

ProcessGraph::makeRole ( id,
label 
)

Definition at line 434 of file SRF_Process.php.

ProcessGraph::makeRessource ( id,
label 
)

Definition at line 453 of file SRF_Process.php.

ProcessGraph::getEndNodes (  ) 

Definition at line 473 of file SRF_Process.php.

Referenced by getGraphVizCode().

ProcessGraph::getStartNodes (  ) 

Definition at line 483 of file SRF_Process.php.

Referenced by getGraphVizCode().

ProcessGraph::setShowStatus ( show  ) 

Definition at line 496 of file SRF_Process.php.

ProcessGraph::getShowStatus (  ) 

Definition at line 500 of file SRF_Process.php.

ProcessGraph::setShowRoles ( show  ) 

Definition at line 504 of file SRF_Process.php.

ProcessGraph::getShowRoles (  ) 

Definition at line 508 of file SRF_Process.php.

ProcessGraph::setShowCompound ( show  ) 

Definition at line 512 of file SRF_Process.php.

ProcessGraph::getShowCompound (  ) 

Definition at line 516 of file SRF_Process.php.

ProcessGraph::setShowDiscussion ( show  ) 

Definition at line 520 of file SRF_Process.php.

ProcessGraph::getShowDiscussion (  ) 

Definition at line 524 of file SRF_Process.php.

ProcessGraph::setShowRessources ( show  ) 

Definition at line 528 of file SRF_Process.php.

ProcessGraph::getShowRessources (  ) 

Definition at line 532 of file SRF_Process.php.

ProcessGraph::setGraphName ( name  ) 

Definition at line 536 of file SRF_Process.php.

ProcessGraph::getGraphName (  ) 

Definition at line 540 of file SRF_Process.php.

Referenced by getGraphVizCode().

ProcessGraph::setGraphSize ( size  ) 

Definition at line 545 of file SRF_Process.php.

ProcessGraph::setRankdir ( rankdir  ) 

Definition at line 549 of file SRF_Process.php.

ProcessGraph::setClusterColor ( color  ) 

Definition at line 553 of file SRF_Process.php.

ProcessGraph::setHighlightColor ( color  ) 

Definition at line 557 of file SRF_Process.php.

ProcessGraph::setRedLinkColor ( color  ) 

Definition at line 561 of file SRF_Process.php.

ProcessGraph::setShowRedLinks ( show  ) 

Definition at line 565 of file SRF_Process.php.

ProcessGraph::setHighlightNode ( name  ) 

Definition at line 569 of file SRF_Process.php.

ProcessGraph::addError ( error  ) 

Definition at line 573 of file SRF_Process.php.

ProcessGraph::getErrors (  ) 

Definition at line 577 of file SRF_Process.php.

ProcessGraph::getGraphVizCode (  ) 

Definition at line 581 of file SRF_Process.php.

References getEndNodes(), getGraphName(), and getStartNodes().


Member Data Documentation

ProcessGraph::$m_graphName = '' [protected]

Definition at line 368 of file SRF_Process.php.

ProcessGraph::$m_rankdir = 'TB' [protected]

Definition at line 369 of file SRF_Process.php.

ProcessGraph::$m_graphSize = '' [protected]

Definition at line 370 of file SRF_Process.php.

ProcessGraph::$m_clusterColor = 'lightgrey' [protected]

Definition at line 371 of file SRF_Process.php.

ProcessGraph::$m_showStatus = false [protected]

Definition at line 372 of file SRF_Process.php.

ProcessGraph::$m_showRoles = false [protected]

Definition at line 373 of file SRF_Process.php.

ProcessGraph::$m_showRessources = false [protected]

Definition at line 374 of file SRF_Process.php.

ProcessGraph::$m_showDiscussion = false [protected]

Definition at line 375 of file SRF_Process.php.

ProcessGraph::$m_highlightNode = '' [protected]

Definition at line 376 of file SRF_Process.php.

ProcessGraph::$m_highlightColor = 'blue' [protected]

Definition at line 377 of file SRF_Process.php.

ProcessGraph::$m_showRedLinks = false [protected]

Definition at line 378 of file SRF_Process.php.

ProcessGraph::$m_redLinkColor = 'red' [protected]

Definition at line 379 of file SRF_Process.php.

ProcessGraph::$m_showCompound = true [protected]

Definition at line 380 of file SRF_Process.php.

ProcessGraph::$m_useHtmlNodes = true

Definition at line 382 of file SRF_Process.php.

ProcessGraph::$m_nodes = array() [protected]

Definition at line 385 of file SRF_Process.php.

ProcessGraph::$m_startnodes = array() [protected]

Definition at line 386 of file SRF_Process.php.

ProcessGraph::$m_endnodes = array() [protected]

Definition at line 387 of file SRF_Process.php.

ProcessGraph::$m_ressources = array() [protected]

Definition at line 388 of file SRF_Process.php.

ProcessGraph::$m_roles = array() [protected]

Definition at line 389 of file SRF_Process.php.

ProcessGraph::$m_errors = array() [protected]

Definition at line 390 of file SRF_Process.php.


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

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6