Go to the source code of this file.
Namespaces | |
namespace | FDL |
Variables | |
$style | |
$dbaccess = $appl->GetParam("FREEDOM_DB") | |
if($dbaccess=="") | $docid = GetHttpVars("docid", 0) |
$type = GetHttpVars("type") | |
$orient = GetHttpVars("orient", "LR") | |
$isize = GetHttpVars("size", "10") | |
$ratio = GetHttpVars("ratio", "auto") | |
$label = ($type == "complet") | |
$doc = new_doc($dbaccess, $docid) | |
$rankdir = $orient | |
$fontsize = 13 | |
else | |
$conditionfontsize = intval($fontsize * 10 / 13) | |
$labelfontsize = intval($fontsize * 11 / 13) | |
$tact = array() | |
foreach($doc->cycle as $k=> $v) | $line [] = '"' . str_replace(" ", "\\n", _($doc->firstState)) . '" [shape = doublecircle,style=filled, width=1.5, fixedsize=true,fontname=sans];' |
if($label) | $states = $doc->getStates() |
foreach($states as $k=> $v) | $ft = str_replace(" ", '\n', _($doc->firstState)) |
$dot | |
$conditionfontsize = intval($fontsize * 10 / 13) |
Definition at line 75 of file wdoc_graphviz.php.
$dbaccess = $appl->GetParam("FREEDOM_DB") |
Definition at line 40 of file wdoc_graphviz.php.
$doc = new_doc($dbaccess, $docid) |
Definition at line 52 of file wdoc_graphviz.php.
if ($dbaccess=="") $docid = GetHttpVars("docid", 0) |
Definition at line 46 of file wdoc_graphviz.php.
print $dot |
Definition at line 257 of file wdoc_graphviz.php.
$fontsize = 13 |
Definition at line 56 of file wdoc_graphviz.php.
Definition at line 255 of file wdoc_graphviz.php.
$isize = GetHttpVars("size", "10") |
Definition at line 49 of file wdoc_graphviz.php.
$label = ($type == "complet") |
Definition at line 51 of file wdoc_graphviz.php.
$labelfontsize = intval($fontsize * 11 / 13) |
Definition at line 76 of file wdoc_graphviz.php.
foreach ($doc->cycle as $k=> $v) $line[] = '"' . str_replace(" ", "\\n", _($doc->firstState)) . '" [shape = doublecircle,style=filled, width=1.5, fixedsize=true,fontname=sans];' |
Definition at line 199 of file wdoc_graphviz.php.
$orient = GetHttpVars("orient", "LR") |
Definition at line 48 of file wdoc_graphviz.php.
$rankdir = $orient |
Definition at line 54 of file wdoc_graphviz.php.
$ratio = GetHttpVars("ratio", "auto") |
Definition at line 50 of file wdoc_graphviz.php.
if ($label) $states = $doc->getStates() |
Definition at line 241 of file wdoc_graphviz.php.
$style |
id Http var : document id to affect type Http var : type of graph format Http var : file format pnh or svg orient Http var :orientation TB (TopBottom) or LR (LeftRight) size Http var : global size of graph
Definition at line 28 of file wdoc_graphviz.php.
$tact = array() |
Definition at line 81 of file wdoc_graphviz.php.
$type = GetHttpVars("type") |
Definition at line 47 of file wdoc_graphviz.php.
else |
Definition at line 58 of file wdoc_graphviz.php.
← centre documentaire |
|