Mercurial > hg > camir-aes2014
annotate toolboxes/graph_visualisation/share/graphviz/graphs/undirected/ER.gv @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 graph ER { |
wolffd@0 | 2 node [shape=box]; course; institute; student; |
wolffd@0 | 3 node [shape=ellipse]; {node [label="name"] name0; name1; name2;} |
wolffd@0 | 4 code; grade; number; |
wolffd@0 | 5 node [shape=diamond,style=filled,color=lightgrey]; "C-I"; "S-C"; "S-I"; |
wolffd@0 | 6 |
wolffd@0 | 7 name0 -- course; |
wolffd@0 | 8 code -- course; |
wolffd@0 | 9 course -- "C-I" [label="n",len=1.00]; |
wolffd@0 | 10 "C-I" -- institute [label="1",len=1.00]; |
wolffd@0 | 11 institute -- name1; |
wolffd@0 | 12 institute -- "S-I" [label="1",len=1.00]; |
wolffd@0 | 13 "S-I" -- student [label="n",len=1.00]; |
wolffd@0 | 14 student -- grade; |
wolffd@0 | 15 student -- name2; |
wolffd@0 | 16 student -- number; |
wolffd@0 | 17 student -- "S-C" [label="m",len=1.00]; |
wolffd@0 | 18 "S-C" -- course [label="n",len=1.00]; |
wolffd@0 | 19 |
wolffd@0 | 20 label = "\n\nEntity Relation Diagram\ndrawn by NEATO"; |
wolffd@0 | 21 fontsize=20; |
wolffd@0 | 22 } |