digraph delayedAssignment_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter function " style="filled" fillcolor=red]; 1 [label="Delegated constructor call: super()"]; 2 [label="Exit function " style="filled" fillcolor=red]; } 0 -> {1}; 1 -> {2}; subgraph cluster_1 { color=red 3 [label="Enter function foo" style="filled" fillcolor=red]; subgraph cluster_2 { color=blue 4 [label="Enter block"]; 5 [label="Exit block"]; } 6 [label="Exit function foo" style="filled" fillcolor=red]; } 3 -> {4}; 4 -> {5}; 5 -> {6}; subgraph cluster_3 { color=red 7 [label="Enter class A" style="filled" fillcolor=red]; 8 [label="Exit class A" style="filled" fillcolor=red]; } 7 -> {8} [color=green]; subgraph cluster_4 { color=red 9 [label="Enter function test" style="filled" fillcolor=red]; subgraph cluster_5 { color=blue 10 [label="Enter block"]; 11 [label="Variable declaration: lval a: R|A?|"]; subgraph cluster_6 { color=blue 12 [label="Enter when"]; subgraph cluster_7 { color=blue 13 [label="Enter when branch condition "]; 14 [label="Access variable R|/b|"]; 15 [label="Exit when branch condition"]; } subgraph cluster_8 { color=blue 16 [label="Enter when branch condition else"]; 17 [label="Exit when branch condition"]; } 18 [label="Enter when branch result"]; subgraph cluster_9 { color=blue 19 [label="Enter block"]; 20 [label="Const: Null(null)"]; 21 [label="Assignment: R|/a|"]; 22 [label="Exit block"]; } 23 [label="Exit when branch result"]; 24 [label="Enter when branch result"]; subgraph cluster_10 { color=blue 25 [label="Enter block"]; 26 [label="Function call: R|/A.A|()"]; 27 [label="Assignment: R|/a|"]; 28 [label="Access variable R|/a|"]; 29 [label="Function call: R|/a|.R|/A.foo|()"]; 30 [label="Exit block"]; } 31 [label="Exit when branch result"]; 32 [label="Exit when"]; } 33 [label="Access variable R|/a|"]; 34 [label="Function call: R|/a|.#()"]; 35 [label="Exit block"]; } 36 [label="Exit function test" style="filled" fillcolor=red]; } 9 -> {10}; 10 -> {11}; 11 -> {12}; 12 -> {13}; 13 -> {14}; 14 -> {15}; 15 -> {24 16}; 16 -> {17}; 17 -> {18}; 18 -> {19}; 19 -> {20}; 20 -> {21}; 21 -> {22}; 22 -> {23}; 23 -> {32}; 24 -> {25}; 25 -> {26}; 26 -> {27}; 27 -> {28}; 28 -> {29}; 29 -> {30}; 30 -> {31}; 31 -> {32}; 32 -> {33}; 33 -> {34}; 34 -> {35}; 35 -> {36}; }