digraph smartcastAfterReassignment_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter function test_1" style="filled" fillcolor=red]; 2 [label="Const: Int(1)"]; 3 [label="Variable declaration: lvar x: R|kotlin/Any|"]; 4 [label="Const: String()"]; 5 [label="Assignment: R|/x|"]; 6 [label="Access variable R|/x|"]; 7 [label="Access variable R|kotlin/String.length|"]; 1 [label="Exit function test_1" style="filled" fillcolor=red]; } 0 -> {2}; 2 -> {3}; 3 -> {4}; 4 -> {5}; 5 -> {6}; 6 -> {7}; 7 -> {1}; subgraph cluster_1 { color=red 8 [label="Enter function test_2" style="filled" fillcolor=red]; 10 [label="Const: Null(null)"]; 11 [label="Variable declaration: lvar x: R|kotlin/String?|"]; subgraph cluster_2 { color=blue 12 [label="Enter when"]; subgraph cluster_3 { color=blue 14 [label="Enter when branch condition "]; 15 [label="Access variable R|/x|"]; 16 [label="Const: Null(null)"]; 17 [label="Operator =="]; 18 [label="Exit when branch condition"]; } 25 [label="Synthetic else branch"]; 19 [label="Enter when branch result"]; subgraph cluster_4 { color=blue 20 [label="Enter block"]; 21 [label="Const: String()"]; 22 [label="Assignment: R|/x|"]; 23 [label="Exit block"]; } 24 [label="Exit when branch result"]; 13 [label="Exit when"]; } 26 [label="Access variable R|/x|"]; 27 [label="Access variable R|kotlin/String.length|"]; 9 [label="Exit function test_2" style="filled" fillcolor=red]; } 8 -> {10}; 10 -> {11}; 11 -> {12}; 12 -> {14}; 13 -> {26}; 14 -> {15}; 15 -> {16}; 16 -> {17}; 17 -> {18}; 18 -> {19 25}; 19 -> {20}; 20 -> {21}; 21 -> {22}; 22 -> {23}; 23 -> {24}; 24 -> {13}; 25 -> {13}; 26 -> {27}; 27 -> {9}; subgraph cluster_5 { color=red 28 [label="Enter function test_3" style="filled" fillcolor=red]; 30 [label="Const: Null(null)"]; 31 [label="Variable declaration: lvar x: R|kotlin/String?|"]; 32 [label="Const: String()"]; 33 [label="Assignment: R|/x|"]; 34 [label="Access variable R|/x|"]; 35 [label="Access variable R|kotlin/String.length|"]; 36 [label="Const: Null(null)"]; 37 [label="Assignment: R|/x|"]; 38 [label="Access variable R|/x|"]; 39 [label="Access variable #"]; 29 [label="Exit function test_3" style="filled" fillcolor=red]; } 28 -> {30}; 30 -> {31}; 31 -> {32}; 32 -> {33}; 33 -> {34}; 34 -> {35}; 35 -> {36}; 36 -> {37}; 37 -> {38}; 38 -> {39}; 39 -> {29}; }