Подграф Graphviz не отображается

Я пытаюсь создать граф с двумя подграфами в точках. Код выглядит следующим образом:

digraph G {
        subgraph step1 {
                style=filled;
                node [label="Compiler"] step1_Compiler;
                node [label="Maschine"] step1_Maschine;
                color=lightgrey;
        }

        subgraph step2 {
                style=filled;
                color=lightgrey;
                node [label="Interpretierer"] step2_Interpretierer;
                node [label="Maschine"] step2_Maschine;
                label="Virtuelle Maschine";
        }

        "Programm (Java)" -> step1_Compiler;
        step1_Compiler -> step1_Maschine;
        step1_Maschine -> "Bytecode";
        "Bytecode" -> step2_Interpretierer;
        step2_Interpretierer -> step2_Maschine;
        step2_Maschine -> "Ergebnis";
}

Результат, который я получаю, выглядит следующим образом:

Result of above code

Я ожидал увидеть рамку вокруг обоих подграфов. Что мне здесь не хватает?

56
задан halfdan 28 September 2011 в 16:23
поделиться