Files
modeling-app/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/artifact_graph_flowchart.snap.md
Jonathan Tran f6e26e0bab test: Add face_code_ref to the mermaid output (#6985)
* Add face_code_ref to the mermaid output

* Update output
2025-05-15 20:14:31 -04:00

16 KiB

flowchart LR
  subgraph path5 [Path]
    5["Path<br>[558, 601, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
    9["Segment<br>[607, 660, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
    10["Segment<br>[666, 777, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
    11["Segment<br>[783, 836, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
    12["Segment<br>[842, 889, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
    13["Segment<br>[895, 991, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
    14["Segment<br>[997, 1068, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
    15["Segment<br>[1074, 1125, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
    16["Segment<br>[1131, 1184, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
    17["Segment<br>[1190, 1259, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
    18["Segment<br>[1265, 1301, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
    19["Segment<br>[1307, 1337, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
    20["Segment<br>[1343, 1373, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
    21["Segment<br>[1379, 1409, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
    22["Segment<br>[1415, 1445, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
    23["Segment<br>[1451, 1480, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
    24["Segment<br>[1486, 1516, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 17 }]
    25["Segment<br>[1522, 1551, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 18 }]
    26["Segment<br>[1557, 1586, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 19 }]
    27["Segment<br>[1592, 1655, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 20 }]
    28["Segment<br>[1661, 1717, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 21 }]
    29["Segment<br>[1723, 1730, 0]"]
      %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 22 }]
    45[Solid2d]
  end
  subgraph path6 [Path]
    6["Path<br>[1890, 1934, 0]"]
      %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
    30["Segment<br>[1940, 2020, 0]"]
      %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
    31["Segment<br>[2026, 2136, 0]"]
      %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
    32["Segment<br>[2142, 2259, 0]"]
      %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
    33["Segment<br>[2265, 2321, 0]"]
      %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
    34["Segment<br>[2327, 2334, 0]"]
      %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
    47[Solid2d]
  end
  subgraph path7 [Path]
    7["Path<br>[2495, 2540, 0]"]
      %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
    35["Segment<br>[2546, 2624, 0]"]
      %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
    36["Segment<br>[2630, 2740, 0]"]
      %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
    37["Segment<br>[2746, 2863, 0]"]
      %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
    38["Segment<br>[2869, 2925, 0]"]
      %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
    39["Segment<br>[2931, 2938, 0]"]
      %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
    48[Solid2d]
  end
  subgraph path8 [Path]
    8["Path<br>[3097, 3142, 0]"]
      %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
    40["Segment<br>[3148, 3233, 0]"]
      %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
    41["Segment<br>[3239, 3349, 0]"]
      %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
    42["Segment<br>[3355, 3472, 0]"]
      %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
    43["Segment<br>[3478, 3534, 0]"]
      %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
    44["Segment<br>[3540, 3547, 0]"]
      %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
    46[Solid2d]
  end
  1["Plane<br>[535, 552, 0]"]
    %% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
  2["StartSketchOnFace<br>[2450, 2489, 0]"]
    %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
  3["StartSketchOnFace<br>[3054, 3091, 0]"]
    %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
  4["StartSketchOnFace<br>[1845, 1884, 0]"]
    %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
  49["Sweep Extrusion<br>[1773, 1803, 0]"]
    %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit]
  50["Sweep Extrusion<br>[2378, 2409, 0]"]
    %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit]
  51["Sweep Extrusion<br>[2981, 3012, 0]"]
    %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit]
  52["Sweep Extrusion<br>[3591, 3621, 0]"]
    %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit]
  53[Wall]
    %% face_code_ref=Missing NodePath
  54[Wall]
    %% face_code_ref=Missing NodePath
  55[Wall]
    %% face_code_ref=Missing NodePath
  56[Wall]
    %% face_code_ref=Missing NodePath
  57[Wall]
    %% face_code_ref=Missing NodePath
  58[Wall]
    %% face_code_ref=Missing NodePath
  59[Wall]
    %% face_code_ref=Missing NodePath
  60[Wall]
    %% face_code_ref=Missing NodePath
  61[Wall]
    %% face_code_ref=Missing NodePath
  62[Wall]
    %% face_code_ref=Missing NodePath
  63[Wall]
    %% face_code_ref=Missing NodePath
  64[Wall]
    %% face_code_ref=Missing NodePath
  65[Wall]
    %% face_code_ref=Missing NodePath
  66[Wall]
    %% face_code_ref=Missing NodePath
  67[Wall]
    %% face_code_ref=Missing NodePath
  68[Wall]
    %% face_code_ref=Missing NodePath
  69[Wall]
    %% face_code_ref=Missing NodePath
  70[Wall]
    %% face_code_ref=Missing NodePath
  71[Wall]
    %% face_code_ref=Missing NodePath
  72[Wall]
    %% face_code_ref=Missing NodePath
  73[Wall]
    %% face_code_ref=Missing NodePath
  74[Wall]
    %% face_code_ref=Missing NodePath
  75[Wall]
    %% face_code_ref=Missing NodePath
  76[Wall]
    %% face_code_ref=Missing NodePath
  77[Wall]
    %% face_code_ref=Missing NodePath
  78[Wall]
    %% face_code_ref=Missing NodePath
  79[Wall]
    %% face_code_ref=Missing NodePath
  80[Wall]
    %% face_code_ref=Missing NodePath
  81[Wall]
    %% face_code_ref=Missing NodePath
  82[Wall]
    %% face_code_ref=Missing NodePath
  83[Wall]
    %% face_code_ref=Missing NodePath
  84["Cap Start"]
    %% face_code_ref=Missing NodePath
  85["Cap Start"]
    %% face_code_ref=Missing NodePath
  86["Cap Start"]
    %% face_code_ref=[ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
  87["Cap Start"]
    %% face_code_ref=Missing NodePath
  88["Cap End"]
    %% face_code_ref=Missing NodePath
  89["Cap End"]
    %% face_code_ref=[ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
  90["Cap End"]
    %% face_code_ref=Missing NodePath
  91["Cap End"]
    %% face_code_ref=Missing NodePath
  92["SweepEdge Opposite"]
  93["SweepEdge Opposite"]
  94["SweepEdge Opposite"]
  95["SweepEdge Opposite"]
  96["SweepEdge Opposite"]
  97["SweepEdge Opposite"]
  98["SweepEdge Opposite"]
  99["SweepEdge Opposite"]
  100["SweepEdge Opposite"]
  101["SweepEdge Opposite"]
  102["SweepEdge Opposite"]
  103["SweepEdge Opposite"]
  104["SweepEdge Opposite"]
  105["SweepEdge Opposite"]
  106["SweepEdge Opposite"]
  107["SweepEdge Opposite"]
  108["SweepEdge Opposite"]
  109["SweepEdge Opposite"]
  110["SweepEdge Opposite"]
  111["SweepEdge Opposite"]
  112["SweepEdge Opposite"]
  113["SweepEdge Opposite"]
  114["SweepEdge Opposite"]
  115["SweepEdge Opposite"]
  116["SweepEdge Opposite"]
  117["SweepEdge Opposite"]
  118["SweepEdge Opposite"]
  119["SweepEdge Opposite"]
  120["SweepEdge Opposite"]
  121["SweepEdge Opposite"]
  122["SweepEdge Opposite"]
  123["SweepEdge Adjacent"]
  124["SweepEdge Adjacent"]
  125["SweepEdge Adjacent"]
  126["SweepEdge Adjacent"]
  127["SweepEdge Adjacent"]
  128["SweepEdge Adjacent"]
  129["SweepEdge Adjacent"]
  130["SweepEdge Adjacent"]
  131["SweepEdge Adjacent"]
  132["SweepEdge Adjacent"]
  133["SweepEdge Adjacent"]
  134["SweepEdge Adjacent"]
  135["SweepEdge Adjacent"]
  136["SweepEdge Adjacent"]
  137["SweepEdge Adjacent"]
  138["SweepEdge Adjacent"]
  139["SweepEdge Adjacent"]
  140["SweepEdge Adjacent"]
  141["SweepEdge Adjacent"]
  142["SweepEdge Adjacent"]
  143["SweepEdge Adjacent"]
  144["SweepEdge Adjacent"]
  145["SweepEdge Adjacent"]
  146["SweepEdge Adjacent"]
  147["SweepEdge Adjacent"]
  148["SweepEdge Adjacent"]
  149["SweepEdge Adjacent"]
  150["SweepEdge Adjacent"]
  151["SweepEdge Adjacent"]
  152["SweepEdge Adjacent"]
  153["SweepEdge Adjacent"]
  1 --- 5
  86 x--> 2
  89 x--> 3
  86 x--> 4
  5 --- 9
  5 --- 10
  5 --- 11
  5 --- 12
  5 --- 13
  5 --- 14
  5 --- 15
  5 --- 16
  5 --- 17
  5 --- 18
  5 --- 19
  5 --- 20
  5 --- 21
  5 --- 22
  5 --- 23
  5 --- 24
  5 --- 25
  5 --- 26
  5 --- 27
  5 --- 28
  5 --- 29
  5 --- 45
  5 ---- 49
  6 --- 30
  6 --- 31
  6 --- 32
  6 --- 33
  6 --- 34
  6 --- 47
  6 ---- 50
  86 --- 6
  7 --- 35
  7 --- 36
  7 --- 37
  7 --- 38
  7 --- 39
  7 --- 48
  7 ---- 51
  86 --- 7
  8 --- 40
  8 --- 41
  8 --- 42
  8 --- 43
  8 --- 44
  8 --- 46
  8 ---- 52
  89 --- 8
  9 --- 71
  9 x--> 86
  9 --- 96
  9 --- 127
  10 --- 65
  10 x--> 86
  10 --- 97
  10 --- 128
  11 --- 64
  11 x--> 86
  11 --- 98
  11 --- 129
  12 --- 67
  12 x--> 86
  12 --- 99
  12 --- 130
  13 --- 62
  13 x--> 86
  13 --- 100
  13 --- 131
  14 --- 61
  14 x--> 86
  14 --- 101
  14 --- 132
  15 --- 70
  15 x--> 86
  15 --- 102
  15 --- 133
  16 --- 74
  16 x--> 86
  16 --- 103
  16 --- 134
  17 --- 73
  17 x--> 86
  17 --- 104
  17 --- 135
  18 --- 60
  18 x--> 86
  18 --- 105
  18 --- 136
  20 --- 75
  20 x--> 86
  20 --- 106
  20 --- 137
  21 --- 68
  21 x--> 86
  21 --- 107
  21 --- 138
  22 --- 63
  22 x--> 86
  22 --- 108
  22 --- 139
  23 --- 58
  23 x--> 86
  23 --- 109
  23 --- 140
  24 --- 69
  24 x--> 86
  24 --- 110
  24 --- 141
  25 --- 59
  25 x--> 86
  25 --- 111
  25 --- 142
  26 --- 72
  26 x--> 86
  26 --- 112
  26 --- 143
  27 --- 57
  27 x--> 86
  27 --- 113
  27 --- 144
  28 --- 66
  28 x--> 86
  28 --- 114
  28 --- 145
  30 --- 54
  30 x--> 85
  30 --- 92
  30 --- 123
  31 --- 53
  31 x--> 85
  31 --- 93
  31 --- 124
  32 --- 55
  32 x--> 85
  32 --- 94
  32 --- 125
  33 --- 56
  33 x--> 85
  33 --- 95
  33 --- 126
  35 --- 81
  35 x--> 87
  35 --- 122
  35 --- 153
  36 --- 83
  36 x--> 87
  36 --- 121
  36 --- 152
  37 --- 80
  37 x--> 87
  37 --- 120
  37 --- 151
  38 --- 82
  38 x--> 87
  38 --- 119
  38 --- 150
  40 --- 78
  40 x--> 84
  40 --- 118
  40 --- 149
  41 --- 79
  41 x--> 84
  41 --- 117
  41 --- 148
  42 --- 77
  42 x--> 84
  42 --- 116
  42 --- 147
  43 --- 76
  43 x--> 84
  43 --- 115
  43 --- 146
  49 --- 57
  49 --- 58
  49 --- 59
  49 --- 60
  49 --- 61
  49 --- 62
  49 --- 63
  49 --- 64
  49 --- 65
  49 --- 66
  49 --- 67
  49 --- 68
  49 --- 69
  49 --- 70
  49 --- 71
  49 --- 72
  49 --- 73
  49 --- 74
  49 --- 75
  49 --- 86
  49 --- 90
  49 --- 96
  49 --- 97
  49 --- 98
  49 --- 99
  49 --- 100
  49 --- 101
  49 --- 102
  49 --- 103
  49 --- 104
  49 --- 105
  49 --- 106
  49 --- 107
  49 --- 108
  49 --- 109
  49 --- 110
  49 --- 111
  49 --- 112
  49 --- 113
  49 --- 114
  49 --- 127
  49 --- 128
  49 --- 129
  49 --- 130
  49 --- 131
  49 --- 132
  49 --- 133
  49 --- 134
  49 --- 135
  49 --- 136
  49 --- 137
  49 --- 138
  49 --- 139
  49 --- 140
  49 --- 141
  49 --- 142
  49 --- 143
  49 --- 144
  49 --- 145
  50 --- 53
  50 --- 54
  50 --- 55
  50 --- 56
  50 --- 85
  50 --- 89
  50 --- 92
  50 --- 93
  50 --- 94
  50 --- 95
  50 --- 123
  50 --- 124
  50 --- 125
  50 --- 126
  51 --- 80
  51 --- 81
  51 --- 82
  51 --- 83
  51 --- 87
  51 --- 91
  51 --- 119
  51 --- 120
  51 --- 121
  51 --- 122
  51 --- 150
  51 --- 151
  51 --- 152
  51 --- 153
  52 --- 76
  52 --- 77
  52 --- 78
  52 --- 79
  52 --- 84
  52 --- 88
  52 --- 115
  52 --- 116
  52 --- 117
  52 --- 118
  52 --- 146
  52 --- 147
  52 --- 148
  52 --- 149
  53 --- 93
  123 <--x 53
  53 --- 124
  54 --- 92
  54 --- 123
  126 <--x 54
  55 --- 94
  124 <--x 55
  55 --- 125
  56 --- 95
  125 <--x 56
  56 --- 126
  57 --- 113
  143 <--x 57
  57 --- 144
  58 --- 109
  139 <--x 58
  58 --- 140
  59 --- 111
  141 <--x 59
  59 --- 142
  60 --- 105
  135 <--x 60
  60 --- 136
  61 --- 101
  131 <--x 61
  61 --- 132
  62 --- 100
  130 <--x 62
  62 --- 131
  63 --- 108
  138 <--x 63
  63 --- 139
  64 --- 98
  128 <--x 64
  64 --- 129
  65 --- 97
  127 <--x 65
  65 --- 128
  66 --- 114
  144 <--x 66
  66 --- 145
  67 --- 99
  129 <--x 67
  67 --- 130
  68 --- 107
  137 <--x 68
  68 --- 138
  69 --- 110
  140 <--x 69
  69 --- 141
  70 --- 102
  132 <--x 70
  70 --- 133
  71 --- 96
  71 --- 127
  145 <--x 71
  72 --- 112
  142 <--x 72
  72 --- 143
  73 --- 104
  134 <--x 73
  73 --- 135
  74 --- 103
  133 <--x 74
  74 --- 134
  75 --- 106
  136 <--x 75
  75 --- 137
  76 --- 115
  76 --- 146
  149 <--x 76
  77 --- 116
  146 <--x 77
  77 --- 147
  78 --- 118
  148 <--x 78
  78 --- 149
  79 --- 117
  147 <--x 79
  79 --- 148
  80 --- 120
  150 <--x 80
  80 --- 151
  81 --- 122
  152 <--x 81
  81 --- 153
  82 --- 119
  82 --- 150
  153 <--x 82
  83 --- 121
  151 <--x 83
  83 --- 152
  115 <--x 88
  116 <--x 88
  117 <--x 88
  118 <--x 88
  92 <--x 89
  93 <--x 89
  94 <--x 89
  95 <--x 89
  96 <--x 90
  97 <--x 90
  98 <--x 90
  99 <--x 90
  100 <--x 90
  101 <--x 90
  102 <--x 90
  103 <--x 90
  104 <--x 90
  105 <--x 90
  106 <--x 90
  107 <--x 90
  108 <--x 90
  109 <--x 90
  110 <--x 90
  111 <--x 90
  112 <--x 90
  113 <--x 90
  114 <--x 90
  119 <--x 91
  120 <--x 91
  121 <--x 91
  122 <--x 91