digraph chapter01 { rankdir=BT; subgraph cluster_Nodes { Start1 [ shape=box style=filled fillcolor=yellow label="Start" ]; Con12 [ label="Con1" ]; Return3 [ shape=box style=filled fillcolor=yellow label="Return" ]; } Con12 -> Start1 [style=dotted]; Return3 -> Start1 [color=red]; Return3 -> Con12; }