Go to the source code of this file.
|
| $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") |
|
| $q = new QueryDb($dbaccess, "DocAttr") |
|
| $ta = $q->Query(0, 0, "TABLE") |
|
| $tf = $q->Query(0, 0, "TABLE") |
|
foreach($tf as $k=> $v) | $fampattern = '/,' . implode($tname, '[,\)]|,') . '[,\)]/' |
|
foreach($ta as $k=> $v) | $rankdir = $orient |
|
| else |
|
| $conditionfontsize = 12 |
|
| $labelfontsize = 11 |
|
foreach($rel as $k=> $v) | $title = "reference" |
|
| $dot |
|
$dbaccess = $appl->GetParam("FREEDOM_DB") |
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 family_graphviz.php.
Initial value:=
"digraph \"" .
$title .
"\" {
ratio=\"$ratio\";
rankdir=$rankdir;
$size
bgcolor=\"transparent\";
{rank=1; \"$ft\";}
splines=false;
node [shape = circle, style=filled, fixedsize=true,width=1.5, fontsize=$statefontsize, fontname=sans];\n"
Definition at line 101 of file family_graphviz.php.
foreach ($tf as $k=> $v) $fampattern = '/,' . implode($tname, '[,\)]|,') . '[,\)]/' |
$q = new QueryDb($dbaccess, "DocAttr") |
foreach ($ta as $k=> $v) $rankdir = $orient |
$ta = $q->Query(0, 0, "TABLE") |
$tf = $q->Query(0, 0, "TABLE") |
foreach ($rel as $k=> $v) $title = "reference" |
Initial value:{
$size =
"size=\"7.6,11!\";";
} else {
if (preg_match(
"/([0-9\.]+),([0-9\.]+)/",
$isize, $reg)) {
$size = sprintf(
"size=\"%.2f,%.2f!\";", floatval($reg[1]) / 2.54, floatval($reg[2]) / 2.54);
} else {
$size =
"size=\"$isize,$isize!\";";
}
}
}
$statefontsize = 13
Definition at line 76 of file family_graphviz.php.