From GamingWiki
Jump to: navigation, search
Line 26: Line 26:
  
 
-->{{#tag: graphviz |
 
-->{{#tag: graphviz |
  digraph character { [sep=1,overlap=false]
+
  digraph character { [rankdir=LR]
 
   node [fontcolor=blue,fontsize=12];
 
   node [fontcolor=blue,fontsize=12];
 
   edge [fontsize=9];
 
   edge [fontsize=9];
Line 40: Line 40:
  
 
  }
 
  }
|border=frame |format=png |renderer=neato }}<!--
+
|border=frame |format=png |renderer=dot }}<!--
  
 
-->}}<!-- endifeq
 
-->}}<!-- endifeq
  
 
--></onlyinclude>
 
--></onlyinclude>

Revision as of 22:32, 28 November 2011

Draw a graph of the relationships of a character or other entity.

<graphviz border="frame" format="png" renderer="dot">

digraph character { [rankdir=LR]
 node [fontcolor=blue,fontsize=12];
 edge [fontsize=9];
 "Xu Xi Meng" [URL="Xu Xi Meng"];

"Xu Xi Meng" -> {"Template:((#ask: Is relationship of::Xu Xi Meng

     |mainlabel=-
     |?Has name=
     |?Has description=
     |format=array |propsep=" [URL="Template:((#ask: Is relationship of::Xu Xi Meng
     |mainlabel=-
     |?Has name=
     |?Has description=
     |format=array |propsep="]} [label="|sep="];"Xu Xi Meng" -> {"Template:))" [URL="Template:))"]} [label=""];

{"Template:((#ask: Is relationship of::+Has name::Xu Xi Meng

     |mainlabel=-
     |?Is relationship of=
     |?Has description=
     |format=array |propsep=" [URL="Template:((#ask: Is relationship of::+Has name::Xu Xi Meng
     |mainlabel=-
     |?Is relationship of=
     |?Has description=
     |format=array |propsep="]} -> "Xu Xi Meng" [label="|sep="];{"Template:))" [URL="Template:))"]} -> "Xu Xi Meng" [label=""];
}

</graphviz>