Documentation
This function requires
GraphvizPlugin
Implementation
%STARTINCLUDE%<!-- -->
<noautolink>
<div class="overflow">
<literal>
%GRAPHVIZ{
topic="%BASEWEB%.%BASETOPIC%"
format="png"
section="dot"
expand="on"
}%
</literal>
</div>
</noautolink>
<!-- -->%STOPINCLUDE%
%STARTSECTION{"dot"}%
digraph G {
tooltip=" "
graph [fontname = helvetica];
node [tooltip=" "]
node[shape="box", fontsize="10", fontname = helvetica];
edge[arrowsize="0.5", fontsize="10", fontname = helvetica];
ratio="auto";
%DBQUERY{
"(TopicType=~'\bTopicType\b' OR @Target.TopicType=~'\bTopicType\b') %IF{"'%BASEWEB%'!='Applications'" then="AND WikiApplication!='WikiWorkbench'"}%"
web="%BASEWEB%"
format="$topic[URL=\"%SCRIPTURL{"view"}%/$web/$topic\" label=\"$expand(topictitle)\"]; $percntFORMATLIST{\"$expand(@Target.Inheritance or Inheritance)\"
format=\"$1 -> $topic;\"
separator=\"$n\"
exclude=\"$percntFORMATLIST{
\"$percntDBQUERY{topics=\"$expand(@Target.Inheritance or Inheritance), none\"
format=\"$dollarexpand(@Target.Inheritance or Inheritance)\"
separator=\", \"
}$percnt\"
separator=\"|\"
unique=\"on\"
header=\"\b(\"
footer=\")\b\"
}$percnt\"
}$percnt"
separator="$n"
}%
}
%ENDSECTION{"dot"}%
Test