graphviz dot

Problem with simple graph on windows 7

Hi,

I'm trying to display the following graph:

graph G {
0[4];
1[9];
2[3];
3[8];
4[2];
5[7];
6[6];
7[1];
8[5];
3--1 [];
6--5 [];
2--1 [];
2--3 [];
7--8 [];
0--8 [];
7--6 [];
5--4 [];
7--4 [];
7--0 [];
}

but I get the following error in the console:

Warning: :2: syntax error in line 2 near ']'

It must be a very simple thing that must be missing, but I can't seem to find it. In older verstions of graphviz I didn't have any problems displaying this graph. Hope anyone can help,

Brammert

Recent comments

Syndicate content