Help:Process format

From semantic-mediawiki.org
Process format
Displays process graphs
Further Information
Provided by: Extension "Semantic Result Formats"
Added: 1.4.2
Removed: still supported
Requirements: GraphViz
Format name: process
Enabled? 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
Table of Contents

The result format process, part of the Extension "Semantic Result Formats" extension, can be used to display result values as a process graph. The extension "GraphViz" (MediaWiki.org) (≤ MediaWiki 1.35.x) or extension "Diagrams" (MediaWiki.org) or extension "External Data" (MediaWiki.org) (≥ MediaWiki 1.36.x) should also be installed for this result format.

Parameters

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

Note Note: 

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 Extension "Semantic Result Formats" extension.



Property "Namespace" has a restricted application area and cannot be used as annotation property by a user."-" is not a number.

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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.