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

Parameter Type default Notes
graphname String ProcessQueryResult Names the process graph
clustercolor color names lightgrey Colors the cluster boxes
showroles Yes or No Yes Shows the corresponding roles in the graph
showresources Yes or No No Shows the corresponding resources in the graph
graphvalidation Yes or No No Displays the process steps in red which do not have a assigned role
graphsize pointf none Specifies the size of the graph

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 
}}

Enabling

This result format is not enabled by default on a wiki. To enable it the line
$srfgFormats[] = 'process';
must be added to the file LocalSettings.php 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