Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ProcessGraph Class Reference

Public Member Functions

 makeNode ( $id, $label)
 
 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 = []
 
 $m_startnodes = []
 
 $m_endnodes = []
 
 $m_ressources = []
 
 $m_roles = []
 
 $m_errors = []
 

Detailed Description

Class representing a process graph

Member Function Documentation

◆ makeNode()

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
$idstring, node id
$labelstring, node label
Returns
Object of type ProcessNode

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

About | General disclaimer | Privacy policy