From GamingWiki
Revision as of 19:12, 27 November 2011 by Dave (talk)
Jump to: navigation, search

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

 digraph character {
  {
  node [fontcolor=blue,fontsize=12];
  "Maia Guarao" [URL="Maia Guarao"];
  "[[:Template:((]]#ask: [[Is relationship of::Maia Guarao]]
      |mainlabel=-
      |?Has name=
      |?Has description=
      |format=array |propsep=" [URL="[[:Template:((]]#ask: [[Is relationship of::Maia Guarao]]
      |mainlabel=-
      |?Has name=
      |?Has description=
      |format=array |propsep="];"[[:Template:))]]" [URL="[[:Template:))]]"];
  "[[:Template:((]]#ask: [[Is relationship of::+]][[Has name::Maia Guarao]]
      |mainlabel=-
      |?Is relationship of=
      |?Has description=
      |format=array |propsep=" [URL="[[:Template:((]]#ask: [[Is relationship of::+]][[Has name::Maia Guarao]]
      |mainlabel=-
      |?Is relationship of=
      |?Has description=
      |format=array |propsep="];"[[:Template:))]]" [URL="[[:Template:))]]"];
  }
  edge [len=2,fontsize=10];
  "Maia Guarao" -> "[[:Template:((]]#ask: [[Is relationship of::Maia Guarao]]
      |mainlabel=-
      |?Has name=
      |?Has description=
      |format=array |propsep=" [label="|sep="];"Maia Guarao" -> "[[:Template:))]]" [label=""];
  "[[:Template:((]]#ask: [[Is relationship of::+]][[Has name::Maia Guarao]]
      |mainlabel=-
      |?Is relationship of=
      |?Has description=
      |format=array |propsep=" -> "Maia Guarao" [label="|sep="];"[[:Template:))]]" -> "Maia Guarao" [label=""];
 }