Error creating graph (exception?)

Hello everybody,

when I try to "compile" a graph using "dot -Tpng -ograph.png inputfile.txt", I get the following error:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Here is my input file:

digraph output {
{rank=same; "Linha_1" "1B" "G" "F" };
{rank=same; "Linha_2" "1A" "1" "2L" "H" "E" };
{rank=same; "Linha_4" "33" "3" "4" };
{rank=same; "Linha_6" "7" "A" "I" };
{rank=same; "DM-2" "29" "31" };
{rank=same; "DM-8" };
{rank=same; "DM-6" };
{rank=same; "DM-4" };
{rank=same; "Linha_8" "B" "D" "J" };
{rank=same; "Linha_9" "O" };
{rank=same; "Linha_10" "K" };
{rank=same; "Linha_12" "L" "11" "24" "8" };
{rank=same; "DM-10" };
{rank=same; "D-14" "15" "23" "M" };
{rank=same; "DM-12" };
{rank=same; "D-16" "17" "21" "14" "W" };
{rank=same; "D-18" "19" "27" };
{rank=same; "DM-14" };
{rank=same; "DM-16" "25" };
{rank=same; "D-20" };
"1A" -> "1" [label = "0"];
"1A" -> "1B" [label = "1"];
"1" -> "2L" [label = "0"];
"1" -> "33" [label = "1"];
"1B" -> "Linha_1" [label = "0"];
"1B" -> "1A" [label = "1"];
"2L" -> "1" [label = "0"];
"2L" -> "4" [label = "1"];
"33" -> "Linha_4" [label = "0"];
"33" -> "31" [label = "1"];
"3" -> "4" [label = "0"];
"3" -> "7" [label = "1"];
"4" -> "I" [label = "0"];
"4" -> "3" [label = "1"];
"7" -> "A" [label = "0"];
"7" -> "B" [label = "1"];
"I" -> "O" [label = "0"];
"I" -> "A" [label = "1"];
"A" -> "7" [label = "0"];
"A" -> "DM-8" [label = "1"];
"B" -> "D" [label = "0"];
"B" -> "L" [label = "1"];
"8" -> "M" [label = "0"];
"8" -> "24" [label = "1"];
"M" -> "W" [label = "0"];
"M" -> "23" [label = "1"];
"24" -> "11" [label = "0"];
"24" -> "23" [label = "1"];
"11" -> "24" [label = "0"];
"11" -> "15" [label = "1"];
"15" -> "23" [label = "0"];
"15" -> "17" [label = "1"];
"23" -> "M" [label = "0"];
"23" -> "24" [label = "1"];
"17" -> "21" [label = "0"];
"17" -> "19" [label = "1"];
"21" -> "14" [label = "0"];
"21" -> "DM-12" [label = "1"];
"19" -> "27" [label = "0"];
"19" -> "25" [label = "1"];
"27" -> "D-18" [label = "0"];
"27" -> "DM-14" [label = "1"];
"25" -> "D-20" [label = "0"];
"25" -> "DM-16" [label = "1"];
"29" -> "DM-2" [label = "0"];
"29" -> "DM-6" [label = "1"];
"31" -> "29" [label = "0"];
"31" -> "DM-4" [label = "1"];
"14" -> "27" [label = "0"];
"14" -> "21" [label = "1"];
"D" -> "J" [label = "0"];
"D" -> "K" [label = "1"];
"L" -> "11" [label = "0"];
"L" -> "DM-10" [label = "1"];
"J" -> "D" [label = "0"];
"J" -> "K" [label = "1"];
"K" -> "8" [label = "0"];
"K" -> "Linha_10" [label = "1"];
"E" -> "H" [label = "0"];
"E" -> "F" [label = "1"];
"H" -> "E" [label = "0"];
"H" -> "G" [label = "1"];
"F" -> "Linha_1" [label = "0"];
"F" -> "E" [label = "1"];
"G" -> "1B" [label = "0"];
"G" -> "H" [label = "1"];
"O" -> "Linha_9" [label = "0"];
"O" -> "I" [label = "1"];
"W" -> "D-20" [label = "0"];
"W" -> "14" [label = "1"];
}

If I take away the line

"L" -> "11" [label = "0"];

or if I take away the rank=same restrictions, the graph compiles.

Any ideas?

Thanks in advance,
Christian Brockly

Recent comments