digraph {
    Root [shape="point"]
    UserRoot [shape="point"]
    Frame [shape="point"]
    IP [label="Output"]

    OldPhase [label="'output'",color="blue"]
    NewPhase [label="'finish'",color="green"]
    Returnvalue [shape="point"]
    Output [shape="point"]
    OutputNext [shape="point",color="green"]

    Root -> UserRoot [label="username"]
    UserRoot -> Frame [label="'frame'"]
    UserRoot -> Output [label="'last_output'",color="blue",style="dashed"]
    Output -> OutputNext [label="'next'",color="green",penwidth=4]
    UserRoot -> OutputNext [label="'last_output'",color="green",penwidth=4]
    Output -> Returnvalue [label="'value'",color="green",penwidth=4]
    Frame -> OldPhase [label="'phase'",color="blue",style="dashed"]
    Frame -> NewPhase [label="'phase'",color="green",penwidth=4]
    Frame -> Returnvalue [label="'returnvalue'"]
    Frame -> IP [label="'IP'"]
}
