Help:Process format

From semantic-mediawiki.org
Jump to: navigation, search
Process format
Displays process graphs
Further Information
Provided by: Semantic Result Formats
Added: 1.4.2
Removed: still supported
Requirements: GraphViz
Format name: process
Enabled by default: 
Indicates whether the result format is enabled by default upon installation of the respective extension.
no
Authors: Frank Dengler , Hans-Jörg Happel
Categories: graph
Group:
Table of Contents

↓ INFO ↓

The result format process, part of the Semantic Result Formats extension, can be used to display result values as a process graph. In order to work the GraphViz extension is required to be installed, too.

Parameters

Format specific
Parameter Type Default Description
graphname text empty Sets the title of the graph
rankdir text TB Sets the direction of the arrows
graphsize text empty Sets the size of the grapht in pixels
clustercolor text lightgrey Sets the colors the cluster boxes
highlight text empty Sets the node to be highlighted
highlightcolor text blue Sets the font color for the highlighted node
redlinkcolor text red Sets the font color for the red links
processcat text Process Sets the wiki category collecting the process steps
showroles yes/no no Shows the corresponding roles in the graph
showstatus yes/no no Sets whether a process step status should be rendered
showresources yes/no no Shows the corresponding resources in the graph
showdiscussion yes/no no Sets whether a discussion should be rendered
showredlinks yes/no no Sets whether red links should be checked and highlighted
showcompound yes/no yes Sets whether to highlight compound nodes, i.e. subprocesses
debug yes/no no Sets whether the process graph code should be shown wrapped pre tags
graphvalidation yes/no no Displays the process steps in red which do not have a assigned role

NoteNote:

Example

{{#ask:
 [[Category:Process Step]]
 [[Category:{{PAGENAME}}]]   
 |?has OrSuccessor=hasorsuccessor 
 |?has Successor=hassuccessor 
 |?has ConTrueSuccessor=hascontruesuccessor 
 |?has ConFalseSuccessor =hasconfalsesuccessor 
 |?has Condition=hascondition 
 |?has Role=hasrole 
 |?uses Resource=usesresource
 |?has Status=hasstatus
 |format=process
 |graphsize=12,12
 |graphvalidation=no
 |showroles=yes
 |showstatus=yes
 |showresources=yes 
 |clustercolor=lightgrey 
}}

External links

Enabling

This result format is not enabled by default on a wiki. To enable it the line
$srfgFormats[] = 'process';
must be added to the "LocalSettings.php" file below the inclusion of the Semantic Result Formats extension.



This documentation page applies to all SMW versions from 1.4.2 to the most current version.
     

Help:Process format en 1.4.2