1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
graph parsetree2 { node [texmode="math",shape="none"]; S0 [label="S"]; S1 [label="S"]; S2 [label="S"]; a0 [label="a"]; S3 [label="S"]; S4 [label="S"]; a1 [label="a"]; a2 [label="a"]; S0 -- S1; S0 -- S2; S1 -- a0; S2 -- S3; S2 -- S4; S3 -- a1; S4 -- a2; }