Get clost to the look I wanted for symtab_flat_copy's graph.

This commit is contained in:
Bill Currie 2011-01-06 09:23:46 +09:00
parent 782a4c9a8d
commit 695f71eeb6

View file

@ -169,24 +169,24 @@ symbol_t *symtab_add_class (symtab_t *symtab, const char *name,
\dot \dot
digraph symtab_flat_copy { digraph symtab_flat_copy {
layout=fdp; layout=dot; rankdir=LR; compound=true; nodesep=1.0;
parent;
subgraph clusterI { subgraph clusterI {
node [shape=record]; node [shape=record];
root [label="{<p>parent|integer\ x;|integer\ y;|float\ z;}"]; root [label="<p>parent|integer\ x;|integer\ y;|float\ z;"];
base [label="{<p>parent|float\ w;|float\ x;}"]; base [label="<p>parent|float\ w;|float\ x;"];
cur [label="{<p>parent|float\ y;}"]; cur [label="<p>parent|float\ y;"];
symtab [shape=ellipse];
cur:p -> base; cur:p -> base;
base:p -> root; base:p -> root;
} }
subgraph clusterO { subgraph clusterO {
node [shape=record]; node [shape=record];
out [label="{<p>parent|float\ z;|float\ w;|float\ x;|float\ y;}"]; out [label="<p>parent|float\ z;|float\ w;|float\ x;|float\ y;"];
return [shape=ellipse];
parent [shape=ellipse];
} }
symtab;
return;
symtab -> cur; symtab -> cur;
clusterI -> clusterO [len=1]; cur -> out [ltail=clusterI,lhead=clusterO];
out:p -> parent; out:p -> parent;
return -> out; return -> out;
} }