Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
DotWorkflow Class Reference
+ Collaboration diagram for DotWorkflow:

Public Member Functions

 generate ()
 
 setCompleteTransitionLine ($index, $tr)
 
 _n ($s)
 
 setWorkflow (WDoc &$doc)
 
 setRatio ($ratio)
 
 setType ($type)
 
 setOrient ($orient)
 
 setSize ($isize)
 

Data Fields

 $style
 

Detailed Description

string $id Http var : document id to affect string $type Http var : type of graph string $orient Http var :orientation TB (TopBottom) or LR (LeftRight) string $size Http var : global size of graph generate doc text for workflow to be used by graphviz

Definition at line 21 of file wdoc_graphviz.php.

Member Function Documentation

_n (   $s)

Definition at line 703 of file wdoc_graphviz.php.

generate ( )

Generate dot text

Returns
string dot text

Definition at line 61 of file wdoc_graphviz.php.

setCompleteTransitionLine (   $index,
  $tr 
)

analyze a transition e1 - e2

Parameters
$index
array$tr

Definition at line 236 of file wdoc_graphviz.php.

setOrient (   $orient)

Definition at line 732 of file wdoc_graphviz.php.

setRatio (   $ratio)

Definition at line 722 of file wdoc_graphviz.php.

setSize (   $isize)

Definition at line 737 of file wdoc_graphviz.php.

setType (   $type)

Definition at line 727 of file wdoc_graphviz.php.

setWorkflow ( WDoc $doc)

Definition at line 717 of file wdoc_graphviz.php.

Field Documentation

$style
Initial value:
= array(
'autonext-color' => '#006400',
'arrow-label-font-color' => '#555555',
'arrow-color' => '#00008b',
'ask-color' => '#00008b',
'condition-color0' => '#6df8ab',
'condition-color1' => '#ffff00',
'action-color2' => '#ffa500',
'action-color3' => '#74c0ec',
'mail-color' => '#a264d2',
'timer-color' => '#64a2d2',
'start-color' => '#00ff00',
'end-color' => '#ff0000',
)

Definition at line 42 of file wdoc_graphviz.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen