From GamingWiki
Jump to: navigation, search
Line 6: Line 6:
 
|?name  
 
|?name  
 
|?high concept  
 
|?high concept  
|?has relationship=name |+index=1
+
|?has relationship=relationship
|?has relationship=desc |+index=2
+
|?has relationship#name|+index=1
 +
|?has relationship#desc|+index=2
 
|format=table }}<!--
 
|format=table }}<!--
 +
-->
 +
SIO testing:
 +
{{#ask: [[is relationship of character::Bob Hurst]]
 +
|mainlabel=-
 +
|?has name
 +
|?has description
 +
|format=table}}<!--
 
--><!-- {{#arrayprint: relationships}} --><!--
 
--><!-- {{#arrayprint: relationships}} --><!--
  

Revision as of 02:18, 27 November 2011

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

{{#ask: Bob Hurst+ |?name |?high concept |?has relationship=relationship |?has relationship#name|+index=1 |?has relationship#desc|+index=2 |format=table }} SIO testing: {{#ask: is relationship of character::Bob Hurst

|mainlabel=-
|?has name
|?has description
|format=table}}<graphviz border='frame' format='png' renderer='neato'>
digraph character {
 {
 node [fontcolor=blue];
 Bob_Hurst  [URL="Bob Hurst",  label="Bob Hurst"];
 Jack_Marks [URL="Jack Marks", label="Jack Marks"];
 Xu_Xi_Meng [URL="Xu Xi Meng", label="Xu Xi Meng"];
 }
 edge [len=2];
 Bob_Hurst -> Jack_Marks [label="went to school with"];
 Bob_Hurst -> Xu_Xi_Meng [label="was a ghoul servitor for"];
}

</graphviz>