Skip to content

Instantly share code, notes, and snippets.

@irneh
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irneh/f19bf7a51591358abe85 to your computer and use it in GitHub Desktop.
Save irneh/f19bf7a51591358abe85 to your computer and use it in GitHub Desktop.
digraph g {
fontname = helvetica; fontsize = 10;
node [shape = record; fontname = helvetica; fontsize = 10];
edge [fontname = helvetica; fontsize = 10];
/* Documents */
doc0 [label = "<f0> parent_id|<f1> children|<f2> hierarchy|<f3> name|<f4> region"];
doc1 [label = "<f0> parent_id|<f1> children|<f2> hierarchy|<f3> name|<f4> region"];
doc2 [label = "<f0> parent_id|<f1> children|<f2> hierarchy|<f3> name|<f4> region"];
/* Intra-doc */
doc0:f1 -> doc0:f4;
doc0:f2 -> doc0:f3;
doc0:f2 -> doc0:f4;
doc0:f3 -> doc0:f4;
doc1:f1 -> doc1:f4;
doc1:f2 -> doc1:f3;
doc1:f2 -> doc1:f4;
doc1:f3 -> doc1:f4;
doc2:f1 -> doc2:f4;
doc2:f2 -> doc2:f3;
doc2:f2 -> doc2:f4;
doc2:f3 -> doc2:f4;
/* Links */
doc0:f0 -> doc1:f1;
doc1:f0 -> doc2:f1;
doc2:f0 -> doc0:f1;
/* Hierarchy */
doc0:f2 -> doc1:f2 -> doc2:f2 -> doc0:f2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment