diff --git a/flake.nix b/flake.nix index a5541683c32..3e710c56d8a 100644 --- a/flake.nix +++ b/flake.nix @@ -112,7 +112,12 @@ src = ./rust; - cargoLock.lockFile = ./rust/Cargo.lock; + cargoLock = { + lockFile = ./rust/Cargo.lock; + outputHashes = { + "kittycad-modeling-cmds-0.2.211" = "sha256-nLpsIiG5bboHNnMiqIJJsBOP7HkAeXS9Mlq1vdb2xOU="; + }; + }; cargoBuildFlags = [ "-p" "kcl-language-server" diff --git a/rust/Cargo.lock b/rust/Cargo.lock index e099852d90b..e0757afc29b 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -332,7 +332,7 @@ version = "3.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dee98b0db6a962de883bf5d20362dee4d7ca0d12fe39a7c6c73c844e1cd7c1f" dependencies = [ - "darling 0.20.11", + "darling 0.23.0", "ident_case", "prettyplease", "proc-macro2", @@ -585,7 +585,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1159,7 +1159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2250,7 +2250,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2652,9 +2652,8 @@ dependencies = [ [[package]] name = "kittycad-modeling-cmds" -version = "0.2.209" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1068db9b2fe4d8fbf20f9002d2433837a9f7afded7510cf7ed973b4cb69dd24" +version = "0.2.211" +source = "git+https://github.com/KittyCAD/modeling-api.git?branch=kurt-auto-hole-region-mappings#11284c8446fc000c59081806be756231b96ec6de" dependencies = [ "anyhow", "bon", @@ -2685,8 +2684,7 @@ dependencies = [ [[package]] name = "kittycad-modeling-cmds-macros" version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb4ba190f74f6d32f4607ecac4bdebd4a935d4943b8ca8369305e6e7a59b5976" +source = "git+https://github.com/KittyCAD/modeling-api.git?branch=kurt-auto-hole-region-mappings#11284c8446fc000c59081806be756231b96ec6de" dependencies = [ "kittycad-modeling-cmds-macros-impl", "proc-macro2", @@ -2697,8 +2695,7 @@ dependencies = [ [[package]] name = "kittycad-modeling-cmds-macros-impl" version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "743b6533d1848de67e3455a28614a2b7896807ab0d3358ccd3ea1863de3c4e6b" +source = "git+https://github.com/KittyCAD/modeling-api.git?branch=kurt-auto-hole-region-mappings#11284c8446fc000c59081806be756231b96ec6de" dependencies = [ "proc-macro2", "quote", @@ -4022,7 +4019,7 @@ dependencies = [ "once_cell", "socket2 0.6.3", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -4391,7 +4388,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.15", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -4404,7 +4401,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -5210,7 +5207,7 @@ dependencies = [ "getrandom 0.4.1", "once_cell", "rustix 1.1.4", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -6243,7 +6240,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 7deb6f90496..d83fa14a775 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -91,6 +91,9 @@ insta = { opt-level = 3 } [profile.test] debug = "line-tables-only" +[patch.crates-io] +kittycad-modeling-cmds = { git = "https://github.com/KittyCAD/modeling-api.git", branch = "kurt-auto-hole-region-mappings" } + #Example: how to point modeling-app at a different repo (e.g. a branch or a local clone) # [patch.crates-io] # ezpz = { git = "https://github.com/KittyCAD/ezpz.git", branch = "david/circle-circle-tangent" } diff --git a/rust/kcl-lib/src/execution/artifact.rs b/rust/kcl-lib/src/execution/artifact.rs index 7cbc4cf876e..30abdefcf10 100644 --- a/rust/kcl-lib/src/execution/artifact.rs +++ b/rust/kcl-lib/src/execution/artifact.rs @@ -35,6 +35,8 @@ use crate::parsing::ast::types::Node; use crate::parsing::ast::types::Program; use crate::std::sketch::build_reverse_region_mapping; +const AUTO_HOLE_REGION_PATH_NAMESPACE: Uuid = uuid::uuid!("d44550a2-1a63-5c3e-87ad-f7a89b3f98fe"); + #[cfg(test)] mod mermaid_tests; #[cfg(test)] @@ -1937,12 +1939,66 @@ fn artifacts_to_update( "Expected to find an existing path for the origin path of CreateRegion or CreateRegionFromQueryPoint command, but found none: origin_path={origin_path:?}, cmd={cmd:?}" ); }; + let Some( + OkModelingCmdResponse::CreateRegion(kcmc::output::CreateRegion { + region_mapping, + hole_region_mappings, + .. + }) + | OkModelingCmdResponse::CreateRegionFromQueryPoint(kcmc::output::CreateRegionFromQueryPoint { + region_mapping, + hole_region_mappings, + .. + }), + ) = response + else { + // Create the path representing the region, even without a + // response. The response is required to create mapped + // segment artifacts. + return_arr.push(Artifact::Path(Path { + id, + sub_type: PathSubType::Region, + plane_id: path.plane_id, + seg_ids: Vec::new(), + consumed: false, + sweep_id: None, + trajectory_sweep_id: None, + solid2d_id: None, + code_ref, + composite_solid_id: None, + sketch_block_id: None, + origin_path_id: Some(ArtifactId::new(*origin_path_id)), + inner_path_id: None, + outer_path_id: None, + pattern_ids: Vec::new(), + })); + return Ok(return_arr); + }; + + // Each key is a segment in the region. The value is the segment in + // the original path. Build the reverse mapping. + let original_segment_ids = path.seg_ids.iter().map(Uuid::from).collect::>(); + let reverse = build_reverse_region_mapping(region_mapping, &original_segment_ids); + let region_segment_ids = reverse + .values() + .flat_map(|region_segment_ids| region_segment_ids.iter().copied()) + .map(ArtifactId::new) + .collect::>(); + let hole_path_ids = (0..hole_region_mappings.len()) + .map(|hole_index| { + ArtifactId::new(Uuid::new_v5( + &AUTO_HOLE_REGION_PATH_NAMESPACE, + format!("{}:{hole_index}", Uuid::from(id)).as_bytes(), + )) + }) + .collect::>(); + // Create the path representing the region. return_arr.push(Artifact::Path(Path { id, sub_type: PathSubType::Region, plane_id: path.plane_id, - seg_ids: Vec::new(), + seg_ids: region_segment_ids, consumed: false, sweep_id: None, trajectory_sweep_id: None, @@ -1951,26 +2007,10 @@ fn artifacts_to_update( composite_solid_id: None, sketch_block_id: None, origin_path_id: Some(ArtifactId::new(*origin_path_id)), - inner_path_id: None, + inner_path_id: hole_path_ids.first().copied(), outer_path_id: None, pattern_ids: Vec::new(), })); - // If we have a response, we can also create the segments in the - // region. - let Some( - OkModelingCmdResponse::CreateRegion(kcmc::output::CreateRegion { region_mapping, .. }) - | OkModelingCmdResponse::CreateRegionFromQueryPoint(kcmc::output::CreateRegionFromQueryPoint { - region_mapping, - .. - }), - ) = response - else { - return Ok(return_arr); - }; - // Each key is a segment in the region. The value is the segment in - // the original path. Build the reverse mapping. - let original_segment_ids = path.seg_ids.iter().map(Uuid::from).collect::>(); - let reverse = build_reverse_region_mapping(region_mapping, &original_segment_ids); for (original_segment_id, region_segment_ids) in reverse.iter() { for segment_id in region_segment_ids { return_arr.push(Artifact::Segment(Segment { @@ -1985,6 +2025,46 @@ fn artifacts_to_update( })) } } + for (hole_index, hole_mapping) in hole_region_mappings.iter().enumerate() { + let hole_path_id = hole_path_ids[hole_index]; + let reverse = build_reverse_region_mapping(hole_mapping, &original_segment_ids); + let hole_segment_ids = reverse + .values() + .flat_map(|region_segment_ids| region_segment_ids.iter().copied()) + .map(ArtifactId::new) + .collect::>(); + return_arr.push(Artifact::Path(Path { + id: hole_path_id, + sub_type: PathSubType::Region, + plane_id: path.plane_id, + seg_ids: hole_segment_ids, + consumed: false, + sweep_id: None, + trajectory_sweep_id: None, + solid2d_id: None, + code_ref: code_ref.clone(), + composite_solid_id: None, + sketch_block_id: None, + origin_path_id: Some(ArtifactId::new(*origin_path_id)), + inner_path_id: None, + outer_path_id: Some(id), + pattern_ids: Vec::new(), + })); + for (original_segment_id, region_segment_ids) in reverse.iter() { + for segment_id in region_segment_ids { + return_arr.push(Artifact::Segment(Segment { + id: ArtifactId::new(*segment_id), + path_id: hole_path_id, + original_seg_id: Some(ArtifactId::new(*original_segment_id)), + surface_id: None, + edge_ids: Vec::new(), + edge_cut_id: None, + code_ref: code_ref.clone(), + common_surface_ids: Vec::new(), + })) + } + } + } return Ok(return_arr); } ModelingCmd::Solid3dGetFaceUuid(kcmc::Solid3dGetFaceUuid { object_id, .. }) => { @@ -2224,13 +2304,22 @@ fn artifacts_to_update( new_path.sweep_id = Some(id); new_path.consumed = true; return_arr.push(Artifact::Path(new_path)); - if let Some(inner_path_id) = path.inner_path_id - && let Some(inner_path_artifact) = artifacts.get(&inner_path_id) - && let Artifact::Path(mut inner_path_artifact) = inner_path_artifact.clone() - { - inner_path_artifact.sweep_id = Some(id); - inner_path_artifact.consumed = true; - return_arr.push(Artifact::Path(inner_path_artifact)) + let mut inner_path_ids = AHashSet::default(); + if let Some(inner_path_id) = path.inner_path_id { + inner_path_ids.insert(inner_path_id); + } + inner_path_ids.extend(artifacts.values().filter_map(|artifact| match artifact { + Artifact::Path(inner_path) if inner_path.outer_path_id == Some(target) => Some(inner_path.id), + _ => None, + })); + for inner_path_id in inner_path_ids { + if let Some(inner_path_artifact) = artifacts.get(&inner_path_id) + && let Artifact::Path(mut inner_path_artifact) = inner_path_artifact.clone() + { + inner_path_artifact.sweep_id = Some(id); + inner_path_artifact.consumed = true; + return_arr.push(Artifact::Path(inner_path_artifact)) + } } } return Ok(return_arr); @@ -2260,13 +2349,22 @@ fn artifacts_to_update( new_path.sweep_id = Some(id); new_path.consumed = true; return_arr.push(Artifact::Path(new_path)); - if let Some(inner_path_id) = path.inner_path_id - && let Some(inner_path_artifact) = artifacts.get(&inner_path_id) - && let Artifact::Path(mut inner_path_artifact) = inner_path_artifact.clone() - { - inner_path_artifact.sweep_id = Some(id); - inner_path_artifact.consumed = true; - return_arr.push(Artifact::Path(inner_path_artifact)) + let mut inner_path_ids = AHashSet::default(); + if let Some(inner_path_id) = path.inner_path_id { + inner_path_ids.insert(inner_path_id); + } + inner_path_ids.extend(artifacts.values().filter_map(|artifact| match artifact { + Artifact::Path(inner_path) if inner_path.outer_path_id == Some(target) => Some(inner_path.id), + _ => None, + })); + for inner_path_id in inner_path_ids { + if let Some(inner_path_artifact) = artifacts.get(&inner_path_id) + && let Artifact::Path(mut inner_path_artifact) = inner_path_artifact.clone() + { + inner_path_artifact.sweep_id = Some(id); + inner_path_artifact.consumed = true; + return_arr.push(Artifact::Path(inner_path_artifact)) + } } } if let Some(trajectory_artifact) = artifacts.get(&trajectory) { diff --git a/rust/kcl-lib/src/simulation_tests.rs b/rust/kcl-lib/src/simulation_tests.rs index 70d8c425595..e44e5a4e79c 100644 --- a/rust/kcl-lib/src/simulation_tests.rs +++ b/rust/kcl-lib/src/simulation_tests.rs @@ -6348,6 +6348,27 @@ mod fillet_ambiguous_region_edge_specifier_broad { super::execute(TEST_NAME, true).await } } +mod chamfer_auto_hole_region_face_api { + const TEST_NAME: &str = "chamfer_auto_hole_region_face_api"; + + /// Test parsing KCL. + #[test] + fn parse() { + super::parse(TEST_NAME) + } + + /// Test that parsing and unparsing KCL produces the original KCL input. + #[tokio::test(flavor = "multi_thread")] + async fn unparse() { + super::unparse(TEST_NAME).await + } + + /// Test that KCL is executed correctly. + #[tokio::test(flavor = "multi_thread")] + async fn kcl_test_execute() { + super::execute(TEST_NAME, true).await + } +} mod gdt_face_api_edge_specifier { const TEST_NAME: &str = "gdt_face_api_edge_specifier"; diff --git a/rust/kcl-lib/src/std/sketch.rs b/rust/kcl-lib/src/std/sketch.rs index bdac152041f..d3dd4a249bf 100644 --- a/rust/kcl-lib/src/std/sketch.rs +++ b/rust/kcl-lib/src/std/sketch.rs @@ -2972,7 +2972,7 @@ async fn inner_region( KclVersion::V2 => RegionVersion::V1, }; - let (sketch_or_segment, region_mapping) = match (point, segments) { + let (sketch_or_segment, region_mapping, hole_region_mappings) = match (point, segments) { (Some(point), None) => { let (sketch, pt) = region_from_point(point, sketch, &args)?; @@ -2990,16 +2990,16 @@ async fn inner_region( ) .await?; - let region_mapping = if let kcmc::websocket::OkWebSocketResponseData::Modeling { + let (region_mapping, hole_region_mappings) = if let kcmc::websocket::OkWebSocketResponseData::Modeling { modeling_response: kcmc::ok_response::OkModelingCmdResponse::CreateRegionFromQueryPoint(data), } = response { - data.region_mapping + (data.region_mapping, data.hole_region_mappings) } else { Default::default() }; - (sketch, region_mapping) + (sketch, region_mapping, hole_region_mappings) } (None, Some(segments)) => { if sketch.is_some() { @@ -3056,16 +3056,16 @@ async fn inner_region( ) .await?; - let region_mapping = if let kcmc::websocket::OkWebSocketResponseData::Modeling { + let (region_mapping, hole_region_mappings) = if let kcmc::websocket::OkWebSocketResponseData::Modeling { modeling_response: kcmc::ok_response::OkModelingCmdResponse::CreateRegion(data), } = response { - data.region_mapping + (data.region_mapping, data.hole_region_mappings) } else { Default::default() }; - (SketchOrSegment::Segment(seg0), region_mapping) + (SketchOrSegment::Segment(seg0), region_mapping, hole_region_mappings) } (Some(_), Some(_)) => { return Err(KclError::new_semantic(KclErrorDetails::new( @@ -3147,12 +3147,17 @@ async fn inner_region( } region_mapping = mock_mapping; } - let original_segment_ids = sketch.paths.iter().map(|p| p.get_id()).collect::>(); + let original_paths = sketch.paths.clone(); + let original_segment_ids = original_paths.iter().map(|p| p.get_id()).collect::>(); let original_seg_to_region = build_reverse_region_mapping(®ion_mapping, &original_segment_ids); + let original_seg_to_hole_regions = hole_region_mappings + .iter() + .map(|mapping| build_reverse_region_mapping(mapping, &original_segment_ids)) + .collect::>(); { let mut new_paths = Vec::new(); - for path in &sketch.paths { + for path in &original_paths { let original_id = path.get_id(); if let Some(region_ids) = original_seg_to_region.get(&original_id) { for region_id in region_ids { @@ -3165,12 +3170,36 @@ async fn inner_region( sketch.paths = new_paths; + let mut inner_paths = Vec::new(); + for hole_mapping in &original_seg_to_hole_regions { + for path in &original_paths { + let original_id = path.get_id(); + if let Some(region_ids) = hole_mapping.get(&original_id) { + for region_id in region_ids { + let mut new_path = path.clone(); + new_path.set_id(*region_id); + inner_paths.push(new_path); + } + } + } + } + sketch.inner_paths = inner_paths; + for (_tag_name, tag) in &mut sketch.tags { let Some(info) = tag.get_cur_info().cloned() else { continue; }; let original_id = info.id; - if let Some(region_ids) = original_seg_to_region.get(&original_id) { + let mut region_ids = Vec::new(); + if let Some(ids) = original_seg_to_region.get(&original_id) { + region_ids.extend(ids.iter().copied()); + } + for hole_mapping in &original_seg_to_hole_regions { + if let Some(ids) = hole_mapping.get(&original_id) { + region_ids.extend(ids.iter().copied()); + } + } + if !region_ids.is_empty() { let epoch = tag.info.last().map(|(e, _)| *e).unwrap_or(0); for (i, region_id) in region_ids.iter().enumerate() { if i == 0 { diff --git a/rust/kcl-lib/tests/beam_sweeps/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/beam_sweeps/artifact_graph_flowchart.snap.md index 8ed6010d667..14eeca2efe2 100644 --- a/rust/kcl-lib/tests/beam_sweeps/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/beam_sweeps/artifact_graph_flowchart.snap.md @@ -295,7 +295,7 @@ flowchart LR 9 <--x 12 92 --- 9 10 <--x 13 - 12 <--x 13 + 12 --- 13 12 ---- 16 13 --- 17 13 x--> 19 @@ -319,7 +319,7 @@ flowchart LR 23 <--x 26 99 --- 23 24 <--x 27 - 26 <--x 27 + 26 --- 27 26 ---- 30 27 --- 31 27 x--> 33 @@ -343,7 +343,7 @@ flowchart LR 37 <--x 40 106 --- 37 38 <--x 41 - 40 <--x 41 + 40 --- 41 40 ---- 44 41 --- 45 41 x--> 47 @@ -367,7 +367,7 @@ flowchart LR 51 <--x 54 113 --- 51 52 <--x 55 - 54 <--x 55 + 54 --- 55 54 ---- 58 55 --- 59 55 x--> 61 @@ -391,7 +391,7 @@ flowchart LR 65 <--x 68 120 --- 65 66 <--x 69 - 68 <--x 69 + 68 --- 69 68 ---- 72 69 --- 73 69 x--> 75 diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_commands.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_commands.snap new file mode 100644 index 00000000000..ee197157187 --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_commands.snap @@ -0,0 +1,293 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Artifact commands chamfer_auto_hole_region_face_api.kcl +--- +{ + "rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/input.kcl": [ + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "make_plane", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "x_axis": { + "x": 1.0, + "y": 0.0, + "z": 0.0 + }, + "y_axis": { + "x": 0.0, + "y": 1.0, + "z": 0.0 + }, + "size": 60.0, + "clobber": false, + "hide": true + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_visible", + "object_id": "[uuid]", + "hidden": true + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "start_path" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "move_path_pen", + "path": "[uuid]", + "to": { + "x": -20.0, + "y": -20.0, + "z": 0.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": 20.0, + "y": -20.0, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": 20.0, + "y": 20.0, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -20.0, + "y": 20.0, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "line", + "end": { + "x": -20.0, + "y": -20.0, + "z": 0.0 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "move_path_pen", + "path": "[uuid]", + "to": { + "x": 5.0, + "y": 0.0, + "z": 0.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extend_path", + "path": "[uuid]", + "segment": { + "type": "arc", + "center": { + "x": 0.0, + "y": 0.0 + }, + "radius": 5.0, + "start": { + "unit": "radians", + "value": 0.0 + }, + "end": { + "unit": "radians", + "value": 6.283185307179586 + }, + "relative": false + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "create_region_from_query_point", + "object_id": "[uuid]", + "query_point": { + "x": 10.0, + "y": 0.0 + }, + "version": "V1" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "enable_sketch_mode", + "entity_id": "[uuid]", + "ortho": false, + "animated": false, + "adjust_camera": false, + "planar_normal": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + } + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "extrude", + "target": "[uuid]", + "distance": 5.0, + "faces": null, + "opposite": "None", + "extrude_method": "merge", + "body_type": "solid" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "sketch_mode_disable" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "object_bring_to_front", + "object_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_extrusion_face_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_get_adjacency_info", + "object_id": "[uuid]", + "edge_id": "[uuid]" + } + }, + { + "cmdId": "[uuid]", + "range": [], + "command": { + "type": "solid3d_cut_edge_references", + "object_id": "[uuid]", + "edges_references": [ + { + "side_faces": [ + "[uuid]", + "[uuid]" + ] + } + ], + "cut_type": { + "chamfer": { + "distance": 1.0, + "second_distance": null, + "angle": null, + "swap": false + } + }, + "tolerance": 0.0000001, + "strategy": "automatic", + "extra_face_ids": [] + } + } + ] +} diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_graph_flowchart.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_graph_flowchart.snap new file mode 100644 index 00000000000..8fb208b634f --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_graph_flowchart.snap @@ -0,0 +1,6 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Artifact graph flowchart chamfer_auto_hole_region_face_api.kcl +extension: md +snapshot_kind: binary +--- diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_graph_flowchart.snap.md new file mode 100644 index 00000000000..11393dab1cf --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/artifact_graph_flowchart.snap.md @@ -0,0 +1,146 @@ +```mermaid +flowchart LR + subgraph path2 [Path] + 2["Path
[93, 484, 0]
Consumed: false"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 3["Segment
[122, 187, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, SketchBlockBody, SketchBlockBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 4["Segment
[198, 261, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, SketchBlockBody, SketchBlockBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 5["Segment
[270, 333, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, SketchBlockBody, SketchBlockBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 6["Segment
[343, 408, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, SketchBlockBody, SketchBlockBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 7["Segment
[419, 482, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, SketchBlockBody, SketchBlockBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit] + end + subgraph path8 [Path] + 8["Path Region
[500, 545, 0]
Consumed: true"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 9["Segment
[500, 545, 0]"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 10["Segment
[500, 545, 0]"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 11["Segment
[500, 545, 0]"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 12["Segment
[500, 545, 0]"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + end + subgraph path13 [Path] + 13["Path Region
[500, 545, 0]
Consumed: true"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 14["Segment
[500, 545, 0]"] + %% [ProgramBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit] + end + 1["Plane
[93, 484, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 15["Sweep Extrusion
[554, 606, 0]
Consumed: false"] + %% [ProgramBodyItem { index: 2 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 16[Wall] + %% face_code_ref=Missing NodePath + 17[Wall] + %% face_code_ref=Missing NodePath + 18[Wall] + %% face_code_ref=Missing NodePath + 19[Wall] + %% face_code_ref=Missing NodePath + 20[Wall] + %% face_code_ref=Missing NodePath + 21["Cap Start"] + %% face_code_ref=Missing NodePath + 22["Cap End"] + %% face_code_ref=Missing NodePath + 23["SweepEdge Opposite"] + 24["SweepEdge Adjacent"] + 25["SweepEdge Opposite"] + 26["SweepEdge Adjacent"] + 27["SweepEdge Opposite"] + 28["SweepEdge Adjacent"] + 29["SweepEdge Opposite"] + 30["SweepEdge Adjacent"] + 31["SweepEdge Opposite"] + 32["SweepEdge Adjacent"] + 33["SketchBlock
[93, 484, 0]"] + %% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit] + 1 --- 2 + 1 <--x 8 + 1 <--x 13 + 1 <--x 33 + 2 --- 3 + 2 --- 4 + 2 --- 5 + 2 --- 6 + 2 --- 7 + 2 <--x 8 + 2 <--x 13 + 33 --- 2 + 3 <--x 9 + 4 <--x 10 + 5 <--x 11 + 6 <--x 12 + 7 <--x 14 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 + 13 --- 8 + 8 ---- 15 + 9 --- 16 + 9 x--> 21 + 9 --- 23 + 9 --- 24 + 10 --- 17 + 10 x--> 21 + 10 --- 25 + 10 --- 26 + 11 --- 18 + 11 x--> 21 + 11 --- 27 + 11 --- 28 + 12 --- 19 + 12 x--> 21 + 12 --- 29 + 12 --- 30 + 13 --- 14 + 13 x---> 15 + 14 --- 20 + 14 x--> 21 + 14 --- 31 + 14 --- 32 + 15 --- 16 + 15 --- 17 + 15 --- 18 + 15 --- 19 + 15 --- 20 + 15 --- 21 + 15 --- 22 + 15 --- 23 + 15 --- 24 + 15 --- 25 + 15 --- 26 + 15 --- 27 + 15 --- 28 + 15 --- 29 + 15 --- 30 + 15 --- 31 + 15 --- 32 + 16 --- 23 + 16 --- 24 + 26 <--x 16 + 17 --- 25 + 17 --- 26 + 28 <--x 17 + 18 --- 27 + 18 --- 28 + 30 <--x 18 + 24 <--x 19 + 19 --- 29 + 19 --- 30 + 20 --- 31 + 20 --- 32 + 23 <--x 22 + 25 <--x 22 + 27 <--x 22 + 29 <--x 22 + 31 <--x 22 +``` diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/ast.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/ast.snap new file mode 100644 index 00000000000..2a5ab90d346 --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/ast.snap @@ -0,0 +1,1539 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Result of parsing chamfer_auto_hole_region_face_api.kcl +--- +{ + "Ok": { + "body": [ + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "profile", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "on", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "body": { + "commentStart": 0, + "end": 0, + "items": [ + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "bottom", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "start", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "end", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "line", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "right", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "start", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "end", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "line", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "top", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "start", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "end", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "line", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "left", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "start", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "end", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "-20mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": -20.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "line", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "hole", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "start", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "5mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 5.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "0mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 0.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "center", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "0mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 0.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + }, + { + "commentStart": 0, + "end": 0, + "initial": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "0mm", + "start": 0, + "suffix": "Mm", + "type": "NumericLiteral", + "value": 0.0 + }, + "moduleId": 0, + "start": 0, + "type": "SketchVar", + "type": "SketchVar" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "circle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + } + ], + "moduleId": 0, + "non_code_meta": { + "nonCodeNodes": { + "3": [ + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "NonCodeNode", + "value": { + "type": "newLine" + } + } + ] + }, + "startNodes": [] + }, + "start": 0, + "type": "Block" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "SketchBlock", + "type": "SketchBlock" + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "plateRegion", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "point", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "10mm", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 10.0, + "suffix": "Mm" + } + }, + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "0mm", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "Mm" + } + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "sketch", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "profile", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "region", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "declaration": { + "commentStart": 0, + "end": 0, + "id": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "plate", + "start": 0, + "type": "Identifier" + }, + "init": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "5mm", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 5.0, + "suffix": "Mm" + } + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "tagEnd", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "TagDeclarator", + "type": "TagDeclarator", + "value": "topCap" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "extrude", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "plateRegion", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + "moduleId": 0, + "start": 0, + "type": "VariableDeclarator" + }, + "end": 0, + "kind": "const", + "moduleId": 0, + "start": 0, + "type": "VariableDeclaration", + "type": "VariableDeclaration" + }, + { + "commentStart": 0, + "end": 0, + "expression": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "1mm", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "Mm" + } + } + }, + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "edges", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "properties": [ + { + "commentStart": 0, + "end": 0, + "key": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "sideFaces", + "start": 0, + "type": "Identifier" + }, + "moduleId": 0, + "start": 0, + "type": "ObjectProperty", + "value": { + "commentStart": 0, + "elements": [ + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "topCap", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "commentStart": 0, + "computed": false, + "end": 0, + "moduleId": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "moduleId": 0, + "object": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "plateRegion", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "property": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "tags", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "hole", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "start": 0, + "type": "ObjectExpression", + "type": "ObjectExpression" + } + ], + "end": 0, + "moduleId": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "chamfer", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "plate", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + "moduleId": 0, + "start": 0, + "type": "ExpressionStatement", + "type": "ExpressionStatement" + } + ], + "commentStart": 0, + "end": 0, + "innerAttrs": [ + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "settings", + "start": 0, + "type": "Identifier" + }, + "properties": [ + { + "commentStart": 0, + "end": 0, + "key": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "defaultLengthUnit", + "start": 0, + "type": "Identifier" + }, + "moduleId": 0, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "mm", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { + "commentStart": 0, + "end": 0, + "key": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "kclVersion", + "start": 0, + "type": "Identifier" + }, + "moduleId": 0, + "start": 0, + "type": "ObjectProperty", + "value": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "raw": "2.0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + } + }, + { + "commentStart": 0, + "end": 0, + "key": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "experimentalFeatures", + "start": 0, + "type": "Identifier" + }, + "moduleId": 0, + "start": 0, + "type": "ObjectProperty", + "value": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "name": "allow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "start": 0, + "type": "Annotation" + } + ], + "moduleId": 0, + "nonCodeMeta": { + "nonCodeNodes": { + "0": [ + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "NonCodeNode", + "value": { + "type": "newLine" + } + } + ], + "2": [ + { + "commentStart": 0, + "end": 0, + "moduleId": 0, + "start": 0, + "type": "NonCodeNode", + "value": { + "type": "newLine" + } + } + ] + }, + "startNodes": [] + }, + "start": 0 + } +} diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/execution_success.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/execution_success.snap new file mode 100644 index 00000000000..2194cdc8c04 --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/execution_success.snap @@ -0,0 +1,5 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Execution success chamfer_auto_hole_region_face_api.kcl +--- +null diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/input.kcl b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/input.kcl new file mode 100644 index 00000000000..e781548056f --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/input.kcl @@ -0,0 +1,23 @@ +@settings(defaultLengthUnit = mm, kclVersion = 2.0, experimentalFeatures = allow) + +profile = sketch(on = XY) { + bottom = line(start = [var -20mm, var -20mm], end = [var 20mm, var -20mm]) + right = line(start = [var 20mm, var -20mm], end = [var 20mm, var 20mm]) + top = line(start = [var 20mm, var 20mm], end = [var -20mm, var 20mm]) + left = line(start = [var -20mm, var 20mm], end = [var -20mm, var -20mm]) + + hole = circle(start = [var 5mm, var 0mm], center = [var 0mm, var 0mm]) +} + +plateRegion = region(point = [10mm, 0mm], sketch = profile) +plate = extrude(plateRegion, length = 5mm, tagEnd = $topCap) + +chamfer( + plate, + length = 1mm, + edges = [ + { + sideFaces = [topCap, plateRegion.tags.hole] + } + ], +) diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/ops.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/ops.snap new file mode 100644 index 00000000000..e27705314a1 --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/ops.snap @@ -0,0 +1,950 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Operations executed chamfer_auto_hole_region_face_api.kcl +--- +{ + "rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/input.kcl": [ + { + "type": "GroupBegin", + "group": { + "type": "SketchBlock", + "sketchId": 1 + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "line", + "unlabeledArg": null, + "labeledArgs": { + "end": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + }, + "start": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + }, + { + "type": "SketchBlockBody" + }, + { + "type": "SketchBlockBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "line", + "unlabeledArg": null, + "labeledArgs": { + "end": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + }, + "start": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + }, + { + "type": "SketchBlockBody" + }, + { + "type": "SketchBlockBodyItem", + "index": 1 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "line", + "unlabeledArg": null, + "labeledArgs": { + "end": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + }, + "start": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + }, + { + "type": "SketchBlockBody" + }, + { + "type": "SketchBlockBodyItem", + "index": 2 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "line", + "unlabeledArg": null, + "labeledArgs": { + "end": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + }, + "start": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + }, + { + "type": "SketchBlockBody" + }, + { + "type": "SketchBlockBodyItem", + "index": 3 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "circle", + "unlabeledArg": null, + "labeledArgs": { + "center": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + }, + "start": { + "value": { + "type": "Array", + "value": [ + { + "type": "SketchVar", + "value": 5.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "SketchVar", + "value": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 0 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + }, + { + "type": "SketchBlockBody" + }, + { + "type": "SketchBlockBodyItem", + "index": 4 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "GroupEnd" + }, + { + "type": "StdLibCall", + "name": "region", + "unlabeledArg": null, + "labeledArgs": { + "point": { + "value": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 10.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ] + }, + "sourceRange": [] + }, + "sketch": { + "value": { + "type": "Object", + "value": { + "bottom": { + "type": "Segment", + "artifact_id": "[uuid]" + }, + "hole": { + "type": "Segment", + "artifact_id": "[uuid]" + }, + "left": { + "type": "Segment", + "artifact_id": "[uuid]" + }, + "meta": { + "type": "Object", + "value": { + "sketch": { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + } + } + }, + "right": { + "type": "Segment", + "artifact_id": "[uuid]" + }, + "top": { + "type": "Segment", + "artifact_id": "[uuid]" + } + } + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 1 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "extrude", + "unlabeledArg": { + "value": { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + }, + "labeledArgs": { + "length": { + "value": { + "type": "Number", + "value": 5.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + "sourceRange": [] + }, + "tagEnd": { + "value": { + "type": "TagDeclarator", + "name": "topCap" + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 2 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "StdLibCall", + "name": "chamfer", + "unlabeledArg": { + "value": { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + }, + "labeledArgs": { + "edges": { + "value": { + "type": "Array", + "value": [ + { + "type": "Object", + "value": { + "sideFaces": { + "type": "Array", + "value": [ + { + "type": "TagIdentifier", + "value": "topCap", + "artifact_id": "[uuid]" + }, + { + "type": "TagIdentifier", + "value": "hole", + "artifact_id": "[uuid]" + } + ] + } + } + } + ] + }, + "sourceRange": [] + }, + "length": { + "value": { + "type": "Number", + "value": 1.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + "sourceRange": [] + } + }, + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 3 + }, + { + "type": "ExpressionStatementExpr" + } + ] + }, + "sourceRange": [] + } + ], + "std::math": [ + { + "type": "VariableDeclaration", + "name": "PI", + "value": { + "type": "Number", + "value": 3.141592653589793, + "ty": { + "type": "Unknown" + } + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 1 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "E", + "value": { + "type": "Number", + "value": 2.718281828459045, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 2 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "TAU", + "value": { + "type": "Number", + "value": 6.283185307179586, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 3 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + } + ], + "std::prelude": [ + { + "type": "VariableDeclaration", + "name": "START", + "value": { + "type": "String", + "value": "start" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 21 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "END", + "value": { + "type": "String", + "value": "end" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 22 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "NEW", + "value": { + "type": "String", + "value": "new" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 23 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "MERGE", + "value": { + "type": "String", + "value": "merge" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 24 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "SOLID", + "value": { + "type": "String", + "value": "solid" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 25 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "SURFACE", + "value": { + "type": "String", + "value": "surface" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 26 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "CCW", + "value": { + "type": "String", + "value": "ccw" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 27 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + }, + { + "type": "VariableDeclaration", + "name": "CW", + "value": { + "type": "String", + "value": "cw" + }, + "visibility": "export", + "nodePath": { + "steps": [ + { + "type": "ProgramBodyItem", + "index": 28 + }, + { + "type": "VariableDeclarationDeclaration" + }, + { + "type": "VariableDeclarationInit" + } + ] + }, + "sourceRange": [] + } + ] +} diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/program_memory.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/program_memory.snap new file mode 100644 index 00000000000..a0013d566c1 --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/program_memory.snap @@ -0,0 +1,1410 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Variables in memory after executing chamfer_auto_hole_region_face_api.kcl +--- +{ + "__sketch_1_on": { + "type": "Plane", + "value": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + } + }, + "plate": { + "type": "Solid", + "value": { + "type": "Solid", + "id": "[uuid]", + "artifactId": "[uuid]", + "value": [ + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 113, + "end": 119, + "moduleId": 0, + "start": 113, + "type": "TagDeclarator", + "value": "bottom" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 190, + "end": 195, + "moduleId": 0, + "start": 190, + "type": "TagDeclarator", + "value": "right" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 264, + "end": 267, + "moduleId": 0, + "start": 264, + "type": "TagDeclarator", + "value": "top" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 336, + "end": 340, + "moduleId": 0, + "start": 336, + "type": "TagDeclarator", + "value": "left" + }, + "type": "extrudePlane" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 412, + "end": 416, + "moduleId": 0, + "start": 412, + "type": "TagDeclarator", + "value": "hole" + }, + "type": "extrudeArc" + }, + { + "faceId": "[uuid]", + "id": "[uuid]", + "sourceRange": [], + "tag": { + "commentStart": 598, + "end": 605, + "moduleId": 0, + "start": 598, + "type": "TagDeclarator", + "value": "topCap" + }, + "type": "extrudePlane" + } + ], + "faces": { + "topCap": { + "type": "TagIdentifier", + "value": "topCap" + } + }, + "sketch": { + "creatorType": "sketch", + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + -20.0 + ], + "tag": { + "commentStart": 113, + "end": 119, + "moduleId": 0, + "start": 113, + "type": "TagDeclarator", + "value": "bottom" + }, + "to": [ + 20.0, + -20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 20.0, + -20.0 + ], + "tag": { + "commentStart": 190, + "end": 195, + "moduleId": 0, + "start": 190, + "type": "TagDeclarator", + "value": "right" + }, + "to": [ + 20.0, + 20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 20.0, + 20.0 + ], + "tag": { + "commentStart": 264, + "end": 267, + "moduleId": 0, + "start": 264, + "type": "TagDeclarator", + "value": "top" + }, + "to": [ + -20.0, + 20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + 20.0 + ], + "tag": { + "commentStart": 336, + "end": 340, + "moduleId": 0, + "start": 336, + "type": "TagDeclarator", + "value": "left" + }, + "to": [ + -20.0, + -20.0 + ], + "type": "ToPoint", + "units": "mm" + } + ], + "innerPaths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 0.0, + 0.0 + ], + "from": [ + 5.0, + 0.0 + ], + "radius": 5.0, + "tag": { + "commentStart": 412, + "end": 416, + "moduleId": 0, + "start": 412, + "type": "TagDeclarator", + "value": "hole" + }, + "to": [ + 5.0, + 0.0 + ], + "type": "Circle", + "units": "mm" + } + ], + "on": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "start": { + "from": [ + -20.0, + -20.0 + ], + "to": [ + -20.0, + -20.0 + ], + "units": "mm", + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "bottom": { + "type": "TagIdentifier", + "value": "bottom" + }, + "hole": { + "type": "TagIdentifier", + "value": "hole" + }, + "left": { + "type": "TagIdentifier", + "value": "left" + }, + "right": { + "type": "TagIdentifier", + "value": "right" + }, + "top": { + "type": "TagIdentifier", + "value": "top" + }, + "topCap": { + "type": "TagIdentifier", + "value": "topCap" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "originSketchId": "[uuid]", + "units": "mm" + }, + "startCapId": "[uuid]", + "endCapId": "[uuid]", + "units": "mm", + "sectional": false + } + }, + "plateRegion": { + "type": "Sketch", + "value": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + -20.0 + ], + "tag": { + "commentStart": 113, + "end": 119, + "moduleId": 0, + "start": 113, + "type": "TagDeclarator", + "value": "bottom" + }, + "to": [ + 20.0, + -20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 20.0, + -20.0 + ], + "tag": { + "commentStart": 190, + "end": 195, + "moduleId": 0, + "start": 190, + "type": "TagDeclarator", + "value": "right" + }, + "to": [ + 20.0, + 20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 20.0, + 20.0 + ], + "tag": { + "commentStart": 264, + "end": 267, + "moduleId": 0, + "start": 264, + "type": "TagDeclarator", + "value": "top" + }, + "to": [ + -20.0, + 20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + 20.0 + ], + "tag": { + "commentStart": 336, + "end": 340, + "moduleId": 0, + "start": 336, + "type": "TagDeclarator", + "value": "left" + }, + "to": [ + -20.0, + -20.0 + ], + "type": "ToPoint", + "units": "mm" + } + ], + "innerPaths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 0.0, + 0.0 + ], + "from": [ + 5.0, + 0.0 + ], + "radius": 5.0, + "tag": { + "commentStart": 412, + "end": 416, + "moduleId": 0, + "start": 412, + "type": "TagDeclarator", + "value": "hole" + }, + "to": [ + 5.0, + 0.0 + ], + "type": "Circle", + "units": "mm" + } + ], + "on": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "start": { + "from": [ + -20.0, + -20.0 + ], + "to": [ + -20.0, + -20.0 + ], + "units": "mm", + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "bottom": { + "type": "TagIdentifier", + "value": "bottom" + }, + "hole": { + "type": "TagIdentifier", + "value": "hole" + }, + "left": { + "type": "TagIdentifier", + "value": "left" + }, + "right": { + "type": "TagIdentifier", + "value": "right" + }, + "top": { + "type": "TagIdentifier", + "value": "top" + }, + "topCap": { + "type": "TagIdentifier", + "value": "topCap" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "originSketchId": "[uuid]", + "units": "mm" + } + }, + "profile": { + "type": "Object", + "value": { + "bottom": { + "type": "Segment", + "value": { + "repr": { + "Solved": { + "segment": { + "id": "[uuid]", + "objectId": 4, + "kind": { + "line": { + "start": [ + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "end": [ + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "ctor": { + "start": { + "x": { + "type": "Var", + "value": -20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": -20.0, + "units": "Mm" + } + }, + "end": { + "x": { + "type": "Var", + "value": 20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": -20.0, + "units": "Mm" + } + } + }, + "start_object_id": 2, + "end_object_id": 3, + "start_freedom": "Free", + "end_freedom": "Free", + "construction": false + } + }, + "surface": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "sketchId": "[uuid]", + "tag": { + "type": "TagIdentifier", + "value": "bottom" + } + } + } + } + } + }, + "hole": { + "type": "Segment", + "value": { + "repr": { + "Solved": { + "segment": { + "id": "[uuid]", + "objectId": 16, + "kind": { + "circle": { + "start": [ + { + "n": 5.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "center": [ + { + "n": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": 0.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "ctor": { + "start": { + "x": { + "type": "Var", + "value": 5.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": 0.0, + "units": "Mm" + } + }, + "center": { + "x": { + "type": "Var", + "value": 0.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": 0.0, + "units": "Mm" + } + } + }, + "start_object_id": 14, + "center_object_id": 15, + "start_freedom": "Free", + "center_freedom": "Free", + "construction": false + } + }, + "surface": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "sketchId": "[uuid]", + "tag": { + "type": "TagIdentifier", + "value": "hole" + } + } + } + } + } + }, + "left": { + "type": "Segment", + "value": { + "repr": { + "Solved": { + "segment": { + "id": "[uuid]", + "objectId": 13, + "kind": { + "line": { + "start": [ + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "end": [ + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "ctor": { + "start": { + "x": { + "type": "Var", + "value": -20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": 20.0, + "units": "Mm" + } + }, + "end": { + "x": { + "type": "Var", + "value": -20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": -20.0, + "units": "Mm" + } + } + }, + "start_object_id": 11, + "end_object_id": 12, + "start_freedom": "Free", + "end_freedom": "Free", + "construction": false + } + }, + "surface": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "sketchId": "[uuid]", + "tag": { + "type": "TagIdentifier", + "value": "left" + } + } + } + } + } + }, + "meta": { + "type": "Object", + "value": { + "sketch": { + "type": "Sketch", + "value": { + "type": "Sketch", + "id": "[uuid]", + "paths": [ + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + -20.0 + ], + "tag": { + "commentStart": 113, + "end": 119, + "moduleId": 0, + "start": 113, + "type": "TagDeclarator", + "value": "bottom" + }, + "to": [ + 20.0, + -20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 20.0, + -20.0 + ], + "tag": { + "commentStart": 190, + "end": 195, + "moduleId": 0, + "start": 190, + "type": "TagDeclarator", + "value": "right" + }, + "to": [ + 20.0, + 20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + 20.0, + 20.0 + ], + "tag": { + "commentStart": 264, + "end": 267, + "moduleId": 0, + "start": 264, + "type": "TagDeclarator", + "value": "top" + }, + "to": [ + -20.0, + 20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + 20.0 + ], + "tag": { + "commentStart": 336, + "end": 340, + "moduleId": 0, + "start": 336, + "type": "TagDeclarator", + "value": "left" + }, + "to": [ + -20.0, + -20.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "from": [ + -20.0, + -20.0 + ], + "tag": null, + "to": [ + 5.0, + 0.0 + ], + "type": "ToPoint", + "units": "mm" + }, + { + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + }, + "ccw": true, + "center": [ + 0.0, + 0.0 + ], + "from": [ + 5.0, + 0.0 + ], + "radius": 5.0, + "tag": { + "commentStart": 412, + "end": 416, + "moduleId": 0, + "start": 412, + "type": "TagDeclarator", + "value": "hole" + }, + "to": [ + 5.0, + 0.0 + ], + "type": "Circle", + "units": "mm" + } + ], + "on": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "start": { + "from": [ + -20.0, + -20.0 + ], + "to": [ + -20.0, + -20.0 + ], + "units": "mm", + "tag": null, + "__geoMeta": { + "id": "[uuid]", + "sourceRange": [] + } + }, + "tags": { + "bottom": { + "type": "TagIdentifier", + "value": "bottom" + }, + "hole": { + "type": "TagIdentifier", + "value": "hole" + }, + "left": { + "type": "TagIdentifier", + "value": "left" + }, + "right": { + "type": "TagIdentifier", + "value": "right" + }, + "top": { + "type": "TagIdentifier", + "value": "top" + } + }, + "artifactId": "[uuid]", + "originalId": "[uuid]", + "units": "mm", + "isClosed": "implicitly" + } + } + }, + "constrainable": false + }, + "right": { + "type": "Segment", + "value": { + "repr": { + "Solved": { + "segment": { + "id": "[uuid]", + "objectId": 7, + "kind": { + "line": { + "start": [ + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "end": [ + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "ctor": { + "start": { + "x": { + "type": "Var", + "value": 20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": -20.0, + "units": "Mm" + } + }, + "end": { + "x": { + "type": "Var", + "value": 20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": 20.0, + "units": "Mm" + } + } + }, + "start_object_id": 5, + "end_object_id": 6, + "start_freedom": "Free", + "end_freedom": "Free", + "construction": false + } + }, + "surface": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "sketchId": "[uuid]", + "tag": { + "type": "TagIdentifier", + "value": "right" + } + } + } + } + } + }, + "top": { + "type": "Segment", + "value": { + "repr": { + "Solved": { + "segment": { + "id": "[uuid]", + "objectId": 10, + "kind": { + "line": { + "start": [ + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "end": [ + { + "n": -20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + }, + { + "n": 20.0, + "ty": { + "mm": null, + "type": "Known", + "type": "Length" + } + } + ], + "ctor": { + "start": { + "x": { + "type": "Var", + "value": 20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": 20.0, + "units": "Mm" + } + }, + "end": { + "x": { + "type": "Var", + "value": -20.0, + "units": "Mm" + }, + "y": { + "type": "Var", + "value": 20.0, + "units": "Mm" + } + } + }, + "start_object_id": 8, + "end_object_id": 9, + "start_freedom": "Free", + "end_freedom": "Free", + "construction": false + } + }, + "surface": { + "artifactId": "[uuid]", + "id": "[uuid]", + "kind": "Custom", + "objectId": 0, + "origin": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "units": "mm" + }, + "type": "plane", + "xAxis": { + "x": 1.0, + "y": 0.0, + "z": 0.0, + "units": null + }, + "yAxis": { + "x": 0.0, + "y": 1.0, + "z": 0.0, + "units": null + }, + "zAxis": { + "x": 0.0, + "y": 0.0, + "z": 1.0, + "units": null + } + }, + "sketchId": "[uuid]", + "tag": { + "type": "TagIdentifier", + "value": "top" + } + } + } + } + } + } + }, + "constrainable": false + }, + "topCap": { + "type": "TagIdentifier", + "type": "TagIdentifier", + "value": "topCap" + } +} diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/rendered_model.png b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/rendered_model.png new file mode 100644 index 00000000000..995b2b1c63c Binary files /dev/null and b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/rendered_model.png differ diff --git a/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/unparsed.snap b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/unparsed.snap new file mode 100644 index 00000000000..5a7f738459e --- /dev/null +++ b/rust/kcl-lib/tests/chamfer_auto_hole_region_face_api/unparsed.snap @@ -0,0 +1,27 @@ +--- +source: kcl-lib/src/simulation_tests.rs +description: Result of unparsing chamfer_auto_hole_region_face_api.kcl +--- +@settings(defaultLengthUnit = mm, kclVersion = 2.0, experimentalFeatures = allow) + +profile = sketch(on = XY) { + bottom = line(start = [var -20mm, var -20mm], end = [var 20mm, var -20mm]) + right = line(start = [var 20mm, var -20mm], end = [var 20mm, var 20mm]) + top = line(start = [var 20mm, var 20mm], end = [var -20mm, var 20mm]) + left = line(start = [var -20mm, var 20mm], end = [var -20mm, var -20mm]) + + hole = circle(start = [var 5mm, var 0mm], center = [var 0mm, var 0mm]) +} + +plateRegion = region(point = [10mm, 0mm], sketch = profile) +plate = extrude(plateRegion, length = 5mm, tagEnd = $topCap) + +chamfer( + plate, + length = 1mm, + edges = [ + { + sideFaces = [topCap, plateRegion.tags.hole] + } + ], +) diff --git a/rust/kcl-lib/tests/christmas_tree_mirror3d_union/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/christmas_tree_mirror3d_union/artifact_graph_flowchart.snap.md index 15bb8b2a982..4f285fd2ae1 100644 --- a/rust/kcl-lib/tests/christmas_tree_mirror3d_union/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/christmas_tree_mirror3d_union/artifact_graph_flowchart.snap.md @@ -144,13 +144,13 @@ flowchart LR 7 <--x 15 8 <--x 16 9 <--x 17 - 10 <--x 11 - 10 <--x 12 - 10 <--x 13 - 10 <--x 14 - 10 <--x 15 - 10 <--x 16 - 10 <--x 17 + 10 --- 11 + 10 --- 12 + 10 --- 13 + 10 --- 14 + 10 --- 15 + 10 --- 16 + 10 --- 17 10 ---- 18 10 <---x 44 10 --- 48 diff --git a/rust/kcl-lib/tests/clone_a_mirror3d/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/clone_a_mirror3d/artifact_graph_flowchart.snap.md index fb4330e85f4..b2fdecacab7 100644 --- a/rust/kcl-lib/tests/clone_a_mirror3d/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/clone_a_mirror3d/artifact_graph_flowchart.snap.md @@ -41,7 +41,7 @@ flowchart LR 3 <--x 5 15 --- 3 4 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 5 <---x 13 5 <---x 14 diff --git a/rust/kcl-lib/tests/consumed_solid_appearance/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_appearance/artifact_graph_flowchart.snap.md index 3ed807bdb55..05598f84c5c 100644 --- a/rust/kcl-lib/tests/consumed_solid_appearance/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_appearance/artifact_graph_flowchart.snap.md @@ -131,10 +131,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 53 8 --- 13 @@ -196,10 +196,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 53 34 --- 39 diff --git a/rust/kcl-lib/tests/consumed_solid_binary_add/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_binary_add/artifact_graph_flowchart.snap.md index 3dc6ec5a76b..e1a739df8ff 100644 --- a/rust/kcl-lib/tests/consumed_solid_binary_add/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_binary_add/artifact_graph_flowchart.snap.md @@ -189,10 +189,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 79 8 --- 13 @@ -254,10 +254,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 79 34 --- 39 @@ -319,10 +319,10 @@ flowchart LR 56 <--x 61 57 <--x 62 58 <--x 63 - 59 <--x 60 - 59 <--x 61 - 59 <--x 62 - 59 <--x 63 + 59 --- 60 + 59 --- 61 + 59 --- 62 + 59 --- 63 59 ---- 64 60 --- 65 60 x--> 69 diff --git a/rust/kcl-lib/tests/consumed_solid_binary_subtract/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_binary_subtract/artifact_graph_flowchart.snap.md index 3dc6ec5a76b..e1a739df8ff 100644 --- a/rust/kcl-lib/tests/consumed_solid_binary_subtract/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_binary_subtract/artifact_graph_flowchart.snap.md @@ -189,10 +189,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 79 8 --- 13 @@ -254,10 +254,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 79 34 --- 39 @@ -319,10 +319,10 @@ flowchart LR 56 <--x 61 57 <--x 62 58 <--x 63 - 59 <--x 60 - 59 <--x 61 - 59 <--x 62 - 59 <--x 63 + 59 --- 60 + 59 --- 61 + 59 --- 62 + 59 --- 63 59 ---- 64 60 --- 65 60 x--> 69 diff --git a/rust/kcl-lib/tests/consumed_solid_clone/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_clone/artifact_graph_flowchart.snap.md index 3ed807bdb55..05598f84c5c 100644 --- a/rust/kcl-lib/tests/consumed_solid_clone/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_clone/artifact_graph_flowchart.snap.md @@ -131,10 +131,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 53 8 --- 13 @@ -196,10 +196,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 53 34 --- 39 diff --git a/rust/kcl-lib/tests/consumed_solid_join_surfaces_consumed_input/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_join_surfaces_consumed_input/artifact_graph_flowchart.snap.md index 99c8371afdf..0990ec5b965 100644 --- a/rust/kcl-lib/tests/consumed_solid_join_surfaces_consumed_input/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_join_surfaces_consumed_input/artifact_graph_flowchart.snap.md @@ -207,10 +207,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 53 8 --- 13 @@ -272,10 +272,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 53 34 --- 39 @@ -337,10 +337,10 @@ flowchart LR 57 <--x 62 58 <--x 63 59 <--x 64 - 60 <--x 61 - 60 <--x 62 - 60 <--x 63 - 60 <--x 64 + 60 --- 61 + 60 --- 62 + 60 --- 63 + 60 --- 64 60 ---- 65 61 --- 66 61 x--> 70 diff --git a/rust/kcl-lib/tests/consumed_solid_join_surfaces_reuse_input/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_join_surfaces_reuse_input/artifact_graph_flowchart.snap.md index 728fa530bf2..f0960970b31 100644 --- a/rust/kcl-lib/tests/consumed_solid_join_surfaces_reuse_input/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_join_surfaces_reuse_input/artifact_graph_flowchart.snap.md @@ -219,10 +219,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 <--x 53 7 <--x 54 @@ -289,10 +289,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 <--x 53 33 <--x 54 @@ -365,10 +365,10 @@ flowchart LR 63 <--x 68 64 <--x 69 65 <--x 70 - 66 <--x 67 - 66 <--x 68 - 66 <--x 69 - 66 <--x 70 + 66 --- 67 + 66 --- 68 + 66 --- 69 + 66 --- 70 66 ---- 71 67 --- 72 67 x--> 76 diff --git a/rust/kcl-lib/tests/consumed_solid_original_issue/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_original_issue/artifact_graph_flowchart.snap.md index 60280f3a7a3..2ebc282a78a 100644 --- a/rust/kcl-lib/tests/consumed_solid_original_issue/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_original_issue/artifact_graph_flowchart.snap.md @@ -197,10 +197,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 --- 12 7 ---- 13 7 <--x 44 @@ -272,7 +272,7 @@ flowchart LR 34 <--x 36 78 --- 34 35 <--x 37 - 36 <--x 37 + 36 --- 37 36 ---- 38 36 <--x 44 36 <--x 45 @@ -326,10 +326,10 @@ flowchart LR 53 <--x 58 54 <--x 59 55 <--x 60 - 56 <--x 57 - 56 <--x 58 - 56 <--x 59 - 56 <--x 60 + 56 --- 57 + 56 --- 58 + 56 --- 59 + 56 --- 60 56 ---- 61 56 --- 67 61 <--x 58 diff --git a/rust/kcl-lib/tests/consumed_solid_subtract_reuse_target/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_subtract_reuse_target/artifact_graph_flowchart.snap.md index 3252b2440d4..bc07659b730 100644 --- a/rust/kcl-lib/tests/consumed_solid_subtract_reuse_target/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_subtract_reuse_target/artifact_graph_flowchart.snap.md @@ -195,10 +195,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 79 8 --- 13 @@ -260,10 +260,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 79 34 --- 39 @@ -325,10 +325,10 @@ flowchart LR 56 <--x 61 57 <--x 62 58 <--x 63 - 59 <--x 60 - 59 <--x 61 - 59 <--x 62 - 59 <--x 63 + 59 --- 60 + 59 --- 61 + 59 --- 62 + 59 --- 63 59 ---- 64 60 --- 65 60 x--> 69 diff --git a/rust/kcl-lib/tests/consumed_solid_subtract_use_result_success/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/consumed_solid_subtract_use_result_success/artifact_graph_flowchart.snap.md index 5a144cb46f9..d6707b5321a 100644 --- a/rust/kcl-lib/tests/consumed_solid_subtract_use_result_success/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/consumed_solid_subtract_use_result_success/artifact_graph_flowchart.snap.md @@ -197,10 +197,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 79 8 --- 13 @@ -262,10 +262,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 79 34 --- 39 @@ -327,10 +327,10 @@ flowchart LR 56 <--x 61 57 <--x 62 58 <--x 63 - 59 <--x 60 - 59 <--x 61 - 59 <--x 62 - 59 <--x 63 + 59 --- 60 + 59 --- 61 + 59 --- 62 + 59 --- 63 59 ---- 64 59 --- 80 60 --- 65 diff --git a/rust/kcl-lib/tests/crab_mirror_region/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/crab_mirror_region/artifact_graph_flowchart.snap.md index 4c6c9603d68..7df21683e7e 100644 --- a/rust/kcl-lib/tests/crab_mirror_region/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/crab_mirror_region/artifact_graph_flowchart.snap.md @@ -557,54 +557,54 @@ flowchart LR 50 <--x 99 51 <--x 100 52 <--x 101 - 53 <--x 54 - 53 <--x 55 - 53 <--x 56 - 53 <--x 57 - 53 <--x 58 - 53 <--x 59 - 53 <--x 60 - 53 <--x 61 - 53 <--x 62 - 53 <--x 63 - 53 <--x 64 - 53 <--x 65 - 53 <--x 66 - 53 <--x 67 - 53 <--x 68 - 53 <--x 69 - 53 <--x 70 - 53 <--x 71 - 53 <--x 72 - 53 <--x 73 - 53 <--x 74 - 53 <--x 75 - 53 <--x 76 - 53 <--x 77 - 53 <--x 78 - 53 <--x 79 - 53 <--x 80 - 53 <--x 81 - 53 <--x 82 - 53 <--x 83 - 53 <--x 84 - 53 <--x 85 - 53 <--x 86 - 53 <--x 87 - 53 <--x 88 - 53 <--x 89 - 53 <--x 90 - 53 <--x 91 - 53 <--x 92 - 53 <--x 93 - 53 <--x 94 - 53 <--x 95 - 53 <--x 96 - 53 <--x 97 - 53 <--x 98 - 53 <--x 99 - 53 <--x 100 - 53 <--x 101 + 53 --- 54 + 53 --- 55 + 53 --- 56 + 53 --- 57 + 53 --- 58 + 53 --- 59 + 53 --- 60 + 53 --- 61 + 53 --- 62 + 53 --- 63 + 53 --- 64 + 53 --- 65 + 53 --- 66 + 53 --- 67 + 53 --- 68 + 53 --- 69 + 53 --- 70 + 53 --- 71 + 53 --- 72 + 53 --- 73 + 53 --- 74 + 53 --- 75 + 53 --- 76 + 53 --- 77 + 53 --- 78 + 53 --- 79 + 53 --- 80 + 53 --- 81 + 53 --- 82 + 53 --- 83 + 53 --- 84 + 53 --- 85 + 53 --- 86 + 53 --- 87 + 53 --- 88 + 53 --- 89 + 53 --- 90 + 53 --- 91 + 53 --- 92 + 53 --- 93 + 53 --- 94 + 53 --- 95 + 53 --- 96 + 53 --- 97 + 53 --- 98 + 53 --- 99 + 53 --- 100 + 53 --- 101 53 ---- 102 54 --- 103 54 x--> 151 diff --git a/rust/kcl-lib/tests/csg_subtract_multi_target_result_reuse/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/csg_subtract_multi_target_result_reuse/artifact_graph_flowchart.snap.md index fb4d36a9707..861fc240088 100644 --- a/rust/kcl-lib/tests/csg_subtract_multi_target_result_reuse/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/csg_subtract_multi_target_result_reuse/artifact_graph_flowchart.snap.md @@ -189,10 +189,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 x--> 33 7 <--x 79 @@ -255,10 +255,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 59 <--x 33 33 <--x 79 @@ -321,10 +321,10 @@ flowchart LR 56 <--x 61 57 <--x 62 58 <--x 63 - 59 <--x 60 - 59 <--x 61 - 59 <--x 62 - 59 <--x 63 + 59 --- 60 + 59 --- 61 + 59 --- 62 + 59 --- 63 59 ---- 64 59 <--x 79 60 --- 65 diff --git a/rust/kcl-lib/tests/csg_subtract_self_empty_result/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/csg_subtract_self_empty_result/artifact_graph_flowchart.snap.md index 9e5a2e520dd..6960c35cc6a 100644 --- a/rust/kcl-lib/tests/csg_subtract_self_empty_result/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/csg_subtract_self_empty_result/artifact_graph_flowchart.snap.md @@ -71,10 +71,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 diff --git a/rust/kcl-lib/tests/delete_body/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/delete_body/artifact_graph_flowchart.snap.md index bef60200e06..4656d9d21f0 100644 --- a/rust/kcl-lib/tests/delete_body/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/delete_body/artifact_graph_flowchart.snap.md @@ -33,7 +33,7 @@ flowchart LR 2 <--x 4 12 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 5 --- 7 5 x--> 8 diff --git a/rust/kcl-lib/tests/endless_impeller/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/endless_impeller/artifact_graph_flowchart.snap.md index 15eecaa5fb6..dd9db4dbc60 100644 --- a/rust/kcl-lib/tests/endless_impeller/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/endless_impeller/artifact_graph_flowchart.snap.md @@ -351,10 +351,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 66 8 x--> 67 @@ -415,10 +415,10 @@ flowchart LR 29 <--x 34 30 <--x 35 31 <--x 36 - 32 <--x 33 - 32 <--x 34 - 32 <--x 35 - 32 <--x 36 + 32 --- 33 + 32 --- 34 + 32 --- 35 + 32 --- 36 32 ---- 37 33 --- 91 33 x--> 92 @@ -479,10 +479,10 @@ flowchart LR 54 <--x 59 55 <--x 60 56 <--x 61 - 57 <--x 58 - 57 <--x 59 - 57 <--x 60 - 57 <--x 61 + 57 --- 58 + 57 --- 59 + 57 --- 60 + 57 --- 61 57 ---- 62 58 --- 116 58 x--> 117 @@ -543,10 +543,10 @@ flowchart LR 79 <--x 84 80 <--x 85 81 <--x 86 - 82 <--x 83 - 82 <--x 84 - 82 <--x 85 - 82 <--x 86 + 82 --- 83 + 82 --- 84 + 82 --- 85 + 82 --- 86 82 ---- 87 83 --- 141 83 x--> 142 @@ -607,10 +607,10 @@ flowchart LR 104 <--x 109 105 <--x 110 106 <--x 111 - 107 <--x 108 - 107 <--x 109 - 107 <--x 110 - 107 <--x 111 + 107 --- 108 + 107 --- 109 + 107 --- 110 + 107 --- 111 107 ---- 112 108 --- 163 108 x--> 167 @@ -671,10 +671,10 @@ flowchart LR 129 <--x 134 130 <--x 135 131 <--x 136 - 132 <--x 133 - 132 <--x 134 - 132 <--x 135 - 132 <--x 136 + 132 --- 133 + 132 --- 134 + 132 --- 135 + 132 --- 136 132 ---- 137 133 --- 16 133 x--> 17 @@ -735,10 +735,10 @@ flowchart LR 154 <--x 159 155 <--x 160 156 <--x 161 - 157 <--x 158 - 157 <--x 159 - 157 <--x 160 - 157 <--x 161 + 157 --- 158 + 157 --- 159 + 157 --- 160 + 157 --- 161 157 ---- 162 158 --- 41 158 x--> 42 diff --git a/rust/kcl-lib/tests/error_large_fillet_radius/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/error_large_fillet_radius/artifact_graph_flowchart.snap.md index 508b9b8fae8..745df593672 100644 --- a/rust/kcl-lib/tests/error_large_fillet_radius/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/error_large_fillet_radius/artifact_graph_flowchart.snap.md @@ -83,10 +83,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 16 8 x--> 17 diff --git a/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier/artifact_graph_flowchart.snap.md index 56dbc8ce638..604ff86b179 100644 --- a/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier/artifact_graph_flowchart.snap.md @@ -80,11 +80,11 @@ flowchart LR 4 <--x 10 5 <--x 11 6 <--x 12 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 - 7 <--x 12 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 + 7 --- 12 7 ---- 13 8 --- 14 8 x--> 19 diff --git a/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier_broad/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier_broad/artifact_graph_flowchart.snap.md index 56dbc8ce638..604ff86b179 100644 --- a/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier_broad/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/fillet_ambiguous_region_edge_specifier_broad/artifact_graph_flowchart.snap.md @@ -80,11 +80,11 @@ flowchart LR 4 <--x 10 5 <--x 11 6 <--x 12 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 - 7 <--x 12 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 + 7 --- 12 7 ---- 13 8 --- 14 8 x--> 19 diff --git a/rust/kcl-lib/tests/gdt_face_api_edge_specifier/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/gdt_face_api_edge_specifier/artifact_graph_flowchart.snap.md index 28d58c297c7..a5e69d928d2 100644 --- a/rust/kcl-lib/tests/gdt_face_api_edge_specifier/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/gdt_face_api_edge_specifier/artifact_graph_flowchart.snap.md @@ -83,10 +83,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 diff --git a/rust/kcl-lib/tests/get_common_edge_of_segment_edge_tag/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/get_common_edge_of_segment_edge_tag/artifact_graph_flowchart.snap.md index 302fe4da694..d5831c6b571 100644 --- a/rust/kcl-lib/tests/get_common_edge_of_segment_edge_tag/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/get_common_edge_of_segment_edge_tag/artifact_graph_flowchart.snap.md @@ -41,8 +41,8 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 ``` diff --git a/rust/kcl-lib/tests/hide_offset_plane/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/hide_offset_plane/artifact_graph_flowchart.snap.md index 4f623ed452d..32ea9e2ab41 100644 --- a/rust/kcl-lib/tests/hide_offset_plane/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/hide_offset_plane/artifact_graph_flowchart.snap.md @@ -103,10 +103,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 <---x 28 8 --- 13 diff --git a/rust/kcl-lib/tests/join_surfaces_single_input_does_not_consume/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/join_surfaces_single_input_does_not_consume/artifact_graph_flowchart.snap.md index 79722f69467..322c334bebd 100644 --- a/rust/kcl-lib/tests/join_surfaces_single_input_does_not_consume/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/join_surfaces_single_input_does_not_consume/artifact_graph_flowchart.snap.md @@ -143,10 +143,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 53 8 --- 13 @@ -208,10 +208,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 53 34 --- 39 diff --git a/rust/kcl-lib/tests/kcl_samples/angle-gauge/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/angle-gauge/artifact_graph_flowchart.snap.md index 1c8dbe11e56..2cb97b8f926 100644 --- a/rust/kcl-lib/tests/kcl_samples/angle-gauge/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/angle-gauge/artifact_graph_flowchart.snap.md @@ -157,14 +157,14 @@ flowchart LR 8 <--x 17 9 <--x 18 10 <--x 19 - 11 <--x 12 - 11 <--x 13 - 11 <--x 14 - 11 <--x 15 - 11 <--x 16 - 11 <--x 17 - 11 <--x 18 - 11 <--x 19 + 11 --- 12 + 11 --- 13 + 11 --- 14 + 11 --- 15 + 11 --- 16 + 11 --- 17 + 11 --- 18 + 11 --- 19 11 ---- 20 12 --- 21 12 x--> 29 diff --git a/rust/kcl-lib/tests/kcl_samples/artificial-heart/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/artificial-heart/artifact_graph_flowchart.snap.md index 17727e3ecc4..17a243eb324 100644 --- a/rust/kcl-lib/tests/kcl_samples/artificial-heart/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/artificial-heart/artifact_graph_flowchart.snap.md @@ -1469,22 +1469,22 @@ flowchart LR 16 <--x 22 17 <--x 23 18 <--x 24 - 19 <--x 20 - 19 <--x 21 - 19 <--x 22 - 19 <--x 23 - 19 <--x 24 - 19 <--x 25 - 19 <--x 26 - 19 <--x 27 - 19 <--x 28 - 19 <--x 29 - 19 <--x 30 - 19 <--x 31 - 19 <--x 32 - 19 <--x 33 - 19 <--x 34 - 19 <--x 35 + 19 --- 20 + 19 --- 21 + 19 --- 22 + 19 --- 23 + 19 --- 24 + 19 --- 25 + 19 --- 26 + 19 --- 27 + 19 --- 28 + 19 --- 29 + 19 --- 30 + 19 --- 31 + 19 --- 32 + 19 --- 33 + 19 --- 34 + 19 --- 35 19 ---- 36 20 --- 124 20 x--> 132 @@ -1618,7 +1618,7 @@ flowchart LR 70 <--x 72 495 --- 70 71 <--x 25 - 72 <--x 73 + 72 --- 73 72 ---- 74 72 x--> 88 72 <--x 102 @@ -1648,14 +1648,14 @@ flowchart LR 83 <--x 27 84 <--x 28 85 <--x 29 - 86 <--x 87 + 86 --- 87 86 x--> 88 86 ---- 90 86 <--x 102 36 <--x 87 87 --- 41 87 --- 57 - 88 <--x 89 + 88 --- 89 88 ---- 96 88 <--x 102 36 <--x 89 @@ -1700,14 +1700,14 @@ flowchart LR 111 <--x 73 112 <--x 87 113 <--x 89 - 114 <--x 115 - 114 <--x 116 - 114 <--x 117 - 114 <--x 118 - 114 <--x 119 - 114 <--x 120 - 114 <--x 121 - 114 <--x 122 + 114 --- 115 + 114 --- 116 + 114 --- 117 + 114 --- 118 + 114 --- 119 + 114 --- 120 + 114 --- 121 + 114 --- 122 114 ---- 123 36 <--x 115 115 --- 43 @@ -1810,7 +1810,7 @@ flowchart LR 548 --- 156 157 <--x 118 158 <--x 119 - 159 <--x 160 + 159 --- 160 159 ---- 161 36 <--x 160 160 --- 51 @@ -1842,7 +1842,7 @@ flowchart LR 565 --- 173 174 <--x 160 175 <--x 177 - 176 <--x 177 + 176 --- 177 176 ---- 178 36 <--x 177 177 --- 52 @@ -1902,14 +1902,14 @@ flowchart LR 203 <--x 249 204 <--x 250 205 <--x 281 - 206 <--x 207 - 206 <--x 208 - 206 <--x 209 - 206 <--x 210 - 206 <--x 211 - 206 <--x 212 - 206 <--x 213 - 206 <--x 214 + 206 --- 207 + 206 --- 208 + 206 --- 209 + 206 --- 210 + 206 --- 211 + 206 --- 212 + 206 --- 213 + 206 --- 214 206 ---- 215 206 --- 278 207 --- 216 @@ -2003,14 +2003,14 @@ flowchart LR 236 <--x 225 238 <--x 225 240 <--x 225 - 242 <--x 243 - 242 <--x 244 - 242 <--x 245 - 242 <--x 246 - 242 <--x 247 - 242 <--x 248 - 242 <--x 249 - 242 <--x 250 + 242 --- 243 + 242 --- 244 + 242 --- 245 + 242 --- 246 + 242 --- 247 + 242 --- 248 + 242 --- 249 + 242 --- 250 242 ---- 251 242 --- 279 243 --- 252 @@ -2104,7 +2104,7 @@ flowchart LR 272 <--x 261 274 <--x 261 276 <--x 261 - 280 <--x 281 + 280 --- 281 280 ---- 282 281 --- 283 281 x--> 284 @@ -2153,21 +2153,21 @@ flowchart LR 302 <--x 318 303 <--x 319 304 <--x 320 - 305 <--x 306 - 305 <--x 307 - 305 <--x 308 - 305 <--x 309 - 305 <--x 310 - 305 <--x 311 - 305 <--x 312 - 305 <--x 313 - 305 <--x 314 - 305 <--x 315 - 305 <--x 316 - 305 <--x 317 - 305 <--x 318 - 305 <--x 319 - 305 <--x 320 + 305 --- 306 + 305 --- 307 + 305 --- 308 + 305 --- 309 + 305 --- 310 + 305 --- 311 + 305 --- 312 + 305 --- 313 + 305 --- 314 + 305 --- 315 + 305 --- 316 + 305 --- 317 + 305 --- 318 + 305 --- 319 + 305 --- 320 305 ---- 321 307 --- 361 307 x--> 365 @@ -2283,10 +2283,10 @@ flowchart LR 352 <--x 357 353 <--x 358 354 <--x 359 - 355 <--x 356 - 355 <--x 357 - 355 <--x 358 - 355 <--x 359 + 355 --- 356 + 355 --- 357 + 355 --- 358 + 355 --- 359 355 ---- 360 355 --- 375 355 --- 376 @@ -2351,7 +2351,7 @@ flowchart LR 388 <--x 393 388 <--x 404 706 --- 388 - 393 <--x 394 + 393 --- 394 393 ---- 398 394 --- 399 394 x--> 400 @@ -2369,7 +2369,7 @@ flowchart LR 399 --- 402 399 --- 403 402 <--x 401 - 404 <--x 405 + 404 --- 405 404 ---- 406 405 --- 407 405 x--> 408 @@ -2398,7 +2398,7 @@ flowchart LR 418 --- 420 418 <--x 421 730 --- 418 - 421 <--x 422 + 421 --- 422 421 ---- 427 422 --- 428 422 x--> 429 @@ -2428,7 +2428,7 @@ flowchart LR 735 --- 434 435 <--x 422 436 <--x 438 - 437 <--x 438 + 437 --- 438 437 ---- 439 438 --- 440 438 x--> 441 diff --git a/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md index 25b23bffed1..61cd35c4a46 100644 --- a/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/axial-fan/artifact_graph_flowchart.snap.md @@ -809,14 +809,14 @@ flowchart LR 13 <--x 21 14 <--x 22 15 <--x 23 - 16 <--x 17 - 16 <--x 18 - 16 <--x 19 - 16 <--x 20 - 16 <--x 21 - 16 <--x 22 - 16 <--x 23 - 16 <--x 24 + 16 --- 17 + 16 --- 18 + 16 --- 19 + 16 --- 20 + 16 --- 21 + 16 --- 22 + 16 --- 23 + 16 --- 24 16 ---- 25 16 --- 80 17 --- 101 @@ -926,12 +926,12 @@ flowchart LR 57 <--x 63 58 <--x 64 59 <--x 65 - 60 <--x 61 - 60 <--x 62 - 60 <--x 63 - 60 <--x 64 - 60 <--x 65 - 60 <--x 66 + 60 --- 61 + 60 --- 62 + 60 --- 63 + 60 --- 64 + 60 --- 65 + 60 --- 66 60 ---- 67 60 --- 80 61 --- 26 @@ -1003,14 +1003,14 @@ flowchart LR 88 <--x 96 89 <--x 97 90 <--x 98 - 91 <--x 92 - 91 <--x 93 - 91 <--x 94 - 91 <--x 95 - 91 <--x 96 - 91 <--x 97 - 91 <--x 98 - 91 <--x 99 + 91 --- 92 + 91 --- 93 + 91 --- 94 + 91 --- 95 + 91 --- 96 + 91 --- 97 + 91 --- 98 + 91 --- 99 91 ---- 100 91 --- 127 92 --- 32 @@ -1108,7 +1108,7 @@ flowchart LR 367 --- 128 129 <--x 99 130 <--x 132 - 131 <--x 132 + 131 --- 132 131 ---- 133 67 <--x 132 132 --- 73 @@ -1128,7 +1128,7 @@ flowchart LR 140 <--x 142 372 --- 140 141 <--x 143 - 142 <--x 143 + 142 --- 143 142 ---- 144 143 --- 145 143 x--> 146 @@ -1150,7 +1150,7 @@ flowchart LR 152 <--x 154 374 --- 152 153 <--x 155 - 154 <--x 155 + 154 --- 155 154 ---- 156 155 --- 157 155 x--> 158 @@ -1193,18 +1193,18 @@ flowchart LR 173 <--x 186 174 <--x 187 175 <--x 188 - 176 <--x 177 - 176 <--x 178 - 176 <--x 179 - 176 <--x 180 - 176 <--x 181 - 176 <--x 182 - 176 <--x 183 - 176 <--x 184 - 176 <--x 185 - 176 <--x 186 - 176 <--x 187 - 176 <--x 188 + 176 --- 177 + 176 --- 178 + 176 --- 179 + 176 --- 180 + 176 --- 181 + 176 --- 182 + 176 --- 183 + 176 --- 184 + 176 --- 185 + 176 --- 186 + 176 --- 187 + 176 --- 188 176 ---- 189 178 --- 223 178 x--> 227 @@ -1305,10 +1305,10 @@ flowchart LR 214 <--x 219 215 <--x 220 216 <--x 221 - 217 <--x 218 - 217 <--x 219 - 217 <--x 220 - 217 <--x 221 + 217 --- 218 + 217 --- 219 + 217 --- 220 + 217 --- 221 217 ---- 222 217 --- 237 189 <--x 218 diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md index baaf5cdeb02..1943eb2fd7d 100644 --- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/artifact_graph_flowchart.snap.md @@ -232,7 +232,7 @@ flowchart LR 2 <--x 5 68 --- 2 3 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 6 --- 8 6 x--> 9 @@ -255,8 +255,8 @@ flowchart LR 73 --- 14 15 <--x 18 16 <--x 19 - 17 <--x 18 - 17 <--x 19 + 17 --- 18 + 17 --- 19 17 ---- 20 17 --- 22 20 <--x 19 @@ -276,10 +276,10 @@ flowchart LR 26 <--x 31 27 <--x 32 28 <--x 33 - 29 <--x 30 - 29 <--x 31 - 29 <--x 32 - 29 <--x 33 + 29 --- 30 + 29 --- 31 + 29 --- 32 + 29 --- 33 29 ---- 34 29 --- 43 34 <--x 30 @@ -318,7 +318,7 @@ flowchart LR 45 <--x 47 94 --- 45 46 <--x 48 - 47 <--x 48 + 47 --- 48 47 ---- 49 47 --- 55 48 --- 50 @@ -342,7 +342,7 @@ flowchart LR 57 <--x 60 103 --- 57 58 <--x 61 - 60 <--x 61 + 60 --- 61 60 ---- 62 61 --- 63 61 x--> 64 diff --git a/rust/kcl-lib/tests/kcl_samples/bench-for-kids/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bench-for-kids/artifact_graph_flowchart.snap.md index 89f1f18a056..46f7bdb444e 100644 --- a/rust/kcl-lib/tests/kcl_samples/bench-for-kids/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bench-for-kids/artifact_graph_flowchart.snap.md @@ -163,8 +163,8 @@ flowchart LR 57 --- 2 3 <--x 6 4 <--x 7 - 5 <--x 6 - 5 <--x 7 + 5 --- 6 + 5 --- 7 5 ---- 8 6 --- 10 6 x--> 11 @@ -197,7 +197,7 @@ flowchart LR 18 <--x 20 67 --- 18 19 <--x 21 - 20 <--x 21 + 20 --- 21 20 ---- 22 20 --- 29 20 --- 30 @@ -223,7 +223,7 @@ flowchart LR 33 <--x 35 73 --- 33 34 <--x 36 - 35 <--x 36 + 35 --- 36 35 ---- 37 35 --- 44 36 --- 38 @@ -247,7 +247,7 @@ flowchart LR 46 <--x 48 74 --- 46 47 <--x 49 - 48 <--x 49 + 48 --- 49 48 ---- 50 49 --- 51 49 x--> 53 diff --git a/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md index 4641ebf2f8f..2881034d048 100644 --- a/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md @@ -1673,26 +1673,26 @@ flowchart LR 22 <--x 294 22 <--x 377 22 <--x 460 - 23 <--x 24 - 23 <--x 25 - 23 <--x 26 - 23 <--x 27 - 23 <--x 28 - 23 <--x 29 - 23 <--x 30 - 23 <--x 31 - 23 <--x 32 - 23 <--x 33 - 23 <--x 34 - 23 <--x 35 - 23 <--x 36 - 23 <--x 37 - 23 <--x 38 - 23 <--x 39 - 23 <--x 40 - 23 <--x 41 - 23 <--x 42 - 23 <--x 43 + 23 --- 24 + 23 --- 25 + 23 --- 26 + 23 --- 27 + 23 --- 28 + 23 --- 29 + 23 --- 30 + 23 --- 31 + 23 --- 32 + 23 --- 33 + 23 --- 34 + 23 --- 35 + 23 --- 36 + 23 --- 37 + 23 --- 38 + 23 --- 39 + 23 --- 40 + 23 --- 41 + 23 --- 42 + 23 --- 43 23 ---- 65 24 --- 72 24 x--> 86 @@ -1814,26 +1814,26 @@ flowchart LR 43 --- 99 43 --- 244 43 --- 245 - 44 <--x 45 - 44 <--x 46 - 44 <--x 47 - 44 <--x 48 - 44 <--x 49 - 44 <--x 50 - 44 <--x 51 - 44 <--x 52 - 44 <--x 53 - 44 <--x 54 - 44 <--x 55 - 44 <--x 56 - 44 <--x 57 - 44 <--x 58 - 44 <--x 59 - 44 <--x 60 - 44 <--x 61 - 44 <--x 62 - 44 <--x 63 - 44 <--x 64 + 44 --- 45 + 44 --- 46 + 44 --- 47 + 44 --- 48 + 44 --- 49 + 44 --- 50 + 44 --- 51 + 44 --- 52 + 44 --- 53 + 44 --- 54 + 44 --- 55 + 44 --- 56 + 44 --- 57 + 44 --- 58 + 44 --- 59 + 44 --- 60 + 44 --- 61 + 44 --- 62 + 44 --- 63 + 44 --- 64 44 ---- 128 45 --- 129 45 x--> 150 @@ -2971,26 +2971,26 @@ flowchart LR 314 <--x 190 441 <--x 190 480 <--x 190 - 191 <--x 192 - 191 <--x 193 - 191 <--x 194 - 191 <--x 195 - 191 <--x 196 - 191 <--x 197 - 191 <--x 198 - 191 <--x 199 - 191 <--x 200 - 191 <--x 201 - 191 <--x 202 - 191 <--x 203 - 191 <--x 204 - 191 <--x 205 - 191 <--x 206 - 191 <--x 207 - 191 <--x 208 - 191 <--x 209 - 191 <--x 210 - 191 <--x 211 + 191 --- 192 + 191 --- 193 + 191 --- 194 + 191 --- 195 + 191 --- 196 + 191 --- 197 + 191 --- 198 + 191 --- 199 + 191 --- 200 + 191 --- 201 + 191 --- 202 + 191 --- 203 + 191 --- 204 + 191 --- 205 + 191 --- 206 + 191 --- 207 + 191 --- 208 + 191 --- 209 + 191 --- 210 + 191 --- 211 192 --- 212 192 x--> 232 193 --- 213 @@ -3031,26 +3031,26 @@ flowchart LR 210 x--> 232 211 --- 231 211 x--> 232 - 274 <--x 275 - 274 <--x 276 - 274 <--x 277 - 274 <--x 278 - 274 <--x 279 - 274 <--x 280 - 274 <--x 281 - 274 <--x 282 - 274 <--x 283 - 274 <--x 284 - 274 <--x 285 - 274 <--x 286 - 274 <--x 287 - 274 <--x 288 - 274 <--x 289 - 274 <--x 290 - 274 <--x 291 - 274 <--x 292 - 274 <--x 293 - 274 <--x 294 + 274 --- 275 + 274 --- 276 + 274 --- 277 + 274 --- 278 + 274 --- 279 + 274 --- 280 + 274 --- 281 + 274 --- 282 + 274 --- 283 + 274 --- 284 + 274 --- 285 + 274 --- 286 + 274 --- 287 + 274 --- 288 + 274 --- 289 + 274 --- 290 + 274 --- 291 + 274 --- 292 + 274 --- 293 + 274 --- 294 275 --- 295 275 x--> 316 276 --- 296 @@ -3091,26 +3091,26 @@ flowchart LR 293 x--> 316 294 --- 314 294 x--> 316 - 357 <--x 358 - 357 <--x 359 - 357 <--x 360 - 357 <--x 361 - 357 <--x 362 - 357 <--x 363 - 357 <--x 364 - 357 <--x 365 - 357 <--x 366 - 357 <--x 367 - 357 <--x 368 - 357 <--x 369 - 357 <--x 370 - 357 <--x 371 - 357 <--x 372 - 357 <--x 373 - 357 <--x 374 - 357 <--x 375 - 357 <--x 376 - 357 <--x 377 + 357 --- 358 + 357 --- 359 + 357 --- 360 + 357 --- 361 + 357 --- 362 + 357 --- 363 + 357 --- 364 + 357 --- 365 + 357 --- 366 + 357 --- 367 + 357 --- 368 + 357 --- 369 + 357 --- 370 + 357 --- 371 + 357 --- 372 + 357 --- 373 + 357 --- 374 + 357 --- 375 + 357 --- 376 + 357 --- 377 358 --- 378 358 x--> 398 358 --- 400 @@ -3271,26 +3271,26 @@ flowchart LR 434 <--x 399 436 <--x 399 438 <--x 399 - 440 <--x 441 - 440 <--x 442 - 440 <--x 443 - 440 <--x 444 - 440 <--x 445 - 440 <--x 446 - 440 <--x 447 - 440 <--x 448 - 440 <--x 449 - 440 <--x 450 - 440 <--x 451 - 440 <--x 452 - 440 <--x 453 - 440 <--x 454 - 440 <--x 455 - 440 <--x 456 - 440 <--x 457 - 440 <--x 458 - 440 <--x 459 - 440 <--x 460 + 440 --- 441 + 440 --- 442 + 440 --- 443 + 440 --- 444 + 440 --- 445 + 440 --- 446 + 440 --- 447 + 440 --- 448 + 440 --- 449 + 440 --- 450 + 440 --- 451 + 440 --- 452 + 440 --- 453 + 440 --- 454 + 440 --- 455 + 440 --- 456 + 440 --- 457 + 440 --- 458 + 440 --- 459 + 440 --- 460 441 --- 461 441 x--> 482 441 --- 483 @@ -3468,12 +3468,12 @@ flowchart LR 528 <--x 535 529 <--x 536 530 <--x 537 - 531 <--x 532 - 531 <--x 533 - 531 <--x 534 - 531 <--x 535 - 531 <--x 536 - 531 <--x 537 + 531 --- 532 + 531 --- 533 + 531 --- 534 + 531 --- 535 + 531 --- 536 + 531 --- 537 531 ---- 538 531 --- 559 532 --- 539 @@ -3562,12 +3562,12 @@ flowchart LR 565 <--x 572 566 <--x 573 567 <--x 574 - 568 <--x 569 - 568 <--x 570 - 568 <--x 571 - 568 <--x 572 - 568 <--x 573 - 568 <--x 574 + 568 --- 569 + 568 --- 570 + 568 --- 571 + 568 --- 572 + 568 --- 573 + 568 --- 574 568 ---- 575 568 --- 596 569 --- 576 @@ -3656,12 +3656,12 @@ flowchart LR 602 <--x 609 603 <--x 610 604 <--x 611 - 605 <--x 606 - 605 <--x 607 - 605 <--x 608 - 605 <--x 609 - 605 <--x 610 - 605 <--x 611 + 605 --- 606 + 605 --- 607 + 605 --- 608 + 605 --- 609 + 605 --- 610 + 605 --- 611 605 ---- 612 605 --- 633 606 --- 613 @@ -3767,13 +3767,13 @@ flowchart LR 645 <--x 688 646 <--x 654 646 <--x 689 - 647 <--x 648 - 647 <--x 649 - 647 <--x 650 - 647 <--x 651 - 647 <--x 652 - 647 <--x 653 - 647 <--x 654 + 647 --- 648 + 647 --- 649 + 647 --- 650 + 647 --- 651 + 647 --- 652 + 647 --- 653 + 647 --- 654 647 ---- 658 648 --- 659 648 x--> 666 @@ -3881,13 +3881,13 @@ flowchart LR 676 <--x 667 678 <--x 667 680 <--x 667 - 682 <--x 683 - 682 <--x 684 - 682 <--x 685 - 682 <--x 686 - 682 <--x 687 - 682 <--x 688 - 682 <--x 689 + 682 --- 683 + 682 --- 684 + 682 --- 685 + 682 --- 686 + 682 --- 687 + 682 --- 688 + 682 --- 689 683 --- 690 683 x--> 697 683 --- 699 diff --git a/rust/kcl-lib/tests/kcl_samples/bike-hub-washer/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bike-hub-washer/artifact_graph_flowchart.snap.md index 2a70b55c68e..cb05621959b 100644 --- a/rust/kcl-lib/tests/kcl_samples/bike-hub-washer/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bike-hub-washer/artifact_graph_flowchart.snap.md @@ -178,17 +178,17 @@ flowchart LR 11 <--x 23 12 <--x 24 13 <--x 25 - 14 <--x 15 - 14 <--x 16 - 14 <--x 17 - 14 <--x 18 - 14 <--x 19 - 14 <--x 20 - 14 <--x 21 - 14 <--x 22 - 14 <--x 23 - 14 <--x 24 - 14 <--x 25 + 14 --- 15 + 14 --- 16 + 14 --- 17 + 14 --- 18 + 14 --- 19 + 14 --- 20 + 14 --- 21 + 14 --- 22 + 14 --- 23 + 14 --- 24 + 14 --- 25 14 ---- 26 26 <--x 15 15 --- 27 diff --git a/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md index c6f0c070552..37ac454f4a5 100644 --- a/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bone-plate/artifact_graph_flowchart.snap.md @@ -413,22 +413,22 @@ flowchart LR 16 <--x 33 17 <--x 34 18 <--x 35 - 19 <--x 20 - 19 <--x 21 - 19 <--x 22 - 19 <--x 23 - 19 <--x 24 - 19 <--x 25 - 19 <--x 26 - 19 <--x 27 - 19 <--x 28 - 19 <--x 29 - 19 <--x 30 - 19 <--x 31 - 19 <--x 32 - 19 <--x 33 - 19 <--x 34 - 19 <--x 35 + 19 --- 20 + 19 --- 21 + 19 --- 22 + 19 --- 23 + 19 --- 24 + 19 --- 25 + 19 --- 26 + 19 --- 27 + 19 --- 28 + 19 --- 29 + 19 --- 30 + 19 --- 31 + 19 --- 32 + 19 --- 33 + 19 --- 34 + 19 --- 35 19 ---- 36 19 --- 147 20 --- 37 @@ -637,7 +637,7 @@ flowchart LR 89 <--x 127 89 <--x 134 89 <--x 141 - 90 <--x 91 + 90 --- 91 90 ---- 92 90 --- 147 91 --- 93 @@ -694,7 +694,7 @@ flowchart LR 93 --- 96 93 --- 97 96 <--x 94 - 98 <--x 99 + 98 --- 99 98 --- 147 99 --- 100 99 x--> 102 @@ -703,7 +703,7 @@ flowchart LR 100 --- 103 100 --- 104 103 <--x 101 - 105 <--x 106 + 105 --- 106 105 --- 147 106 --- 107 106 x--> 109 @@ -712,7 +712,7 @@ flowchart LR 107 --- 110 107 --- 111 110 <--x 108 - 112 <--x 113 + 112 --- 113 112 --- 147 113 --- 114 113 x--> 116 @@ -721,7 +721,7 @@ flowchart LR 114 --- 117 114 --- 118 117 <--x 115 - 119 <--x 120 + 119 --- 120 119 --- 147 120 --- 121 120 x--> 123 @@ -730,7 +730,7 @@ flowchart LR 121 --- 124 121 --- 125 124 <--x 122 - 126 <--x 127 + 126 --- 127 126 --- 147 127 --- 128 127 x--> 130 @@ -739,7 +739,7 @@ flowchart LR 128 --- 131 128 --- 132 131 <--x 129 - 133 <--x 134 + 133 --- 134 133 --- 147 134 --- 135 134 x--> 137 @@ -748,7 +748,7 @@ flowchart LR 135 --- 138 135 --- 139 138 <--x 136 - 140 <--x 141 + 140 --- 141 140 --- 147 141 --- 142 141 x--> 144 diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md index 80939247ff1..5b67491b01a 100644 --- a/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bottle/artifact_graph_flowchart.snap.md @@ -145,10 +145,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 @@ -204,7 +204,7 @@ flowchart LR 27 <--x 29 61 --- 27 28 <--x 30 - 29 <--x 30 + 29 --- 30 29 ---- 31 30 --- 32 30 --- 34 diff --git a/rust/kcl-lib/tests/kcl_samples/box/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/box/artifact_graph_flowchart.snap.md index 3cda0a92514..7eb1909bc5e 100644 --- a/rust/kcl-lib/tests/kcl_samples/box/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/box/artifact_graph_flowchart.snap.md @@ -105,10 +105,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 diff --git a/rust/kcl-lib/tests/kcl_samples/bracket-with-slot/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bracket-with-slot/artifact_graph_flowchart.snap.md index 979942391ed..78c9f66cfc2 100644 --- a/rust/kcl-lib/tests/kcl_samples/bracket-with-slot/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bracket-with-slot/artifact_graph_flowchart.snap.md @@ -321,12 +321,12 @@ flowchart LR 6 <--x 13 7 <--x 14 8 <--x 15 - 9 <--x 10 - 9 <--x 11 - 9 <--x 12 - 9 <--x 13 - 9 <--x 14 - 9 <--x 15 + 9 --- 10 + 9 --- 11 + 9 --- 12 + 9 --- 13 + 9 --- 14 + 9 --- 15 9 ---- 16 9 --- 59 10 --- 22 @@ -418,12 +418,13 @@ flowchart LR 48 --- 49 48 <--x 52 123 --- 48 - 50 <--x 51 + 50 --- 51 50 ---- 54 51 --- 53 51 --- 55 51 x--> 56 51 --- 58 + 52 x--> 53 52 x---> 54 54 --- 53 53 --- 55 @@ -448,10 +449,10 @@ flowchart LR 63 <--x 68 64 <--x 69 65 <--x 70 - 66 <--x 67 - 66 <--x 68 - 66 <--x 69 - 66 <--x 70 + 66 --- 67 + 66 --- 68 + 66 --- 69 + 66 --- 70 66 ---- 71 66 --- 86 67 --- 72 diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md index 5a2ee75a263..fbbda57964c 100644 --- a/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bracket/artifact_graph_flowchart.snap.md @@ -325,12 +325,12 @@ flowchart LR 6 <--x 13 7 <--x 14 8 <--x 15 - 9 <--x 10 - 9 <--x 11 - 9 <--x 12 - 9 <--x 13 - 9 <--x 14 - 9 <--x 15 + 9 --- 10 + 9 --- 11 + 9 --- 12 + 9 --- 13 + 9 --- 14 + 9 --- 15 9 ---- 16 9 --- 104 10 --- 19 diff --git a/rust/kcl-lib/tests/kcl_samples/c-shape-solid/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/c-shape-solid/artifact_graph_flowchart.snap.md index 60ada7b3d33..822f3de6537 100644 --- a/rust/kcl-lib/tests/kcl_samples/c-shape-solid/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/c-shape-solid/artifact_graph_flowchart.snap.md @@ -103,10 +103,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 diff --git a/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md index 0e672b46fbb..23bf5537283 100644 --- a/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/car-wheel-assembly/artifact_graph_flowchart.snap.md @@ -1117,15 +1117,15 @@ flowchart LR 9 <--x 18 10 <--x 19 11 <--x 20 - 12 <--x 13 - 12 <--x 14 - 12 <--x 15 - 12 <--x 16 - 12 <--x 17 - 12 <--x 18 - 12 <--x 19 - 12 <--x 20 - 12 <--x 21 + 12 --- 13 + 12 --- 14 + 12 --- 15 + 12 --- 16 + 12 --- 17 + 12 --- 18 + 12 --- 19 + 12 --- 20 + 12 --- 21 12 ---- 27 12 --- 53 13 --- 66 @@ -1168,7 +1168,7 @@ flowchart LR 23 <--x 25 466 --- 23 24 <--x 21 - 25 <--x 26 + 25 --- 26 25 ---- 46 25 --- 52 25 --- 53 @@ -1233,10 +1233,10 @@ flowchart LR 57 <--x 61 58 <--x 62 59 <--x 63 - 60 <--x 61 - 60 <--x 62 - 60 <--x 63 - 60 <--x 64 + 60 --- 61 + 60 --- 62 + 60 --- 63 + 60 --- 64 60 ---- 65 60 --- 80 27 <--x 61 @@ -1291,7 +1291,7 @@ flowchart LR 483 --- 82 83 <--x 64 84 <--x 86 - 85 <--x 86 + 85 --- 86 85 ---- 87 27 <--x 86 86 --- 36 @@ -1345,24 +1345,24 @@ flowchart LR 110 <--x 129 111 <--x 130 112 <--x 131 - 113 <--x 114 - 113 <--x 115 - 113 <--x 116 - 113 <--x 117 - 113 <--x 118 - 113 <--x 119 - 113 <--x 120 - 113 <--x 121 - 113 <--x 122 - 113 <--x 123 - 113 <--x 124 - 113 <--x 125 - 113 <--x 126 - 113 <--x 127 - 113 <--x 128 - 113 <--x 129 - 113 <--x 130 - 113 <--x 131 + 113 --- 114 + 113 --- 115 + 113 --- 116 + 113 --- 117 + 113 --- 118 + 113 --- 119 + 113 --- 120 + 113 --- 121 + 113 --- 122 + 113 --- 123 + 113 --- 124 + 113 --- 125 + 113 --- 126 + 113 --- 127 + 113 --- 128 + 113 --- 129 + 113 --- 130 + 113 --- 131 113 ---- 132 132 <--x 114 114 --- 133 @@ -1507,12 +1507,12 @@ flowchart LR 174 <--x 181 175 <--x 182 176 <--x 183 - 177 <--x 178 - 177 <--x 179 - 177 <--x 180 - 177 <--x 181 - 177 <--x 182 - 177 <--x 183 + 177 --- 178 + 177 --- 179 + 177 --- 180 + 177 --- 181 + 177 --- 182 + 177 --- 183 177 ---- 184 177 --- 194 177 --- 232 @@ -1575,15 +1575,15 @@ flowchart LR 203 <--x 213 204 <--x 214 205 <--x 215 - 206 <--x 207 - 206 <--x 208 - 206 <--x 209 - 206 <--x 210 - 206 <--x 211 - 206 <--x 212 - 206 <--x 213 - 206 <--x 214 - 206 <--x 215 + 206 --- 207 + 206 --- 208 + 206 --- 209 + 206 --- 210 + 206 --- 211 + 206 --- 212 + 206 --- 213 + 206 --- 214 + 206 --- 215 206 ---- 216 206 --- 232 207 --- 393 @@ -1700,30 +1700,30 @@ flowchart LR 256 <--x 281 257 <--x 282 258 <--x 283 - 259 <--x 260 - 259 <--x 261 - 259 <--x 262 - 259 <--x 263 - 259 <--x 264 - 259 <--x 265 - 259 <--x 266 - 259 <--x 267 - 259 <--x 268 - 259 <--x 269 - 259 <--x 270 - 259 <--x 271 - 259 <--x 272 - 259 <--x 273 - 259 <--x 274 - 259 <--x 275 - 259 <--x 276 - 259 <--x 277 - 259 <--x 278 - 259 <--x 279 - 259 <--x 280 - 259 <--x 281 - 259 <--x 282 - 259 <--x 283 + 259 --- 260 + 259 --- 261 + 259 --- 262 + 259 --- 263 + 259 --- 264 + 259 --- 265 + 259 --- 266 + 259 --- 267 + 259 --- 268 + 259 --- 269 + 259 --- 270 + 259 --- 271 + 259 --- 272 + 259 --- 273 + 259 --- 274 + 259 --- 275 + 259 --- 276 + 259 --- 277 + 259 --- 278 + 259 --- 279 + 259 --- 280 + 259 --- 281 + 259 --- 282 + 259 --- 283 259 ---- 284 284 <--x 260 260 --- 288 @@ -1912,13 +1912,13 @@ flowchart LR 339 <--x 347 340 <--x 348 341 <--x 349 - 342 <--x 343 - 342 <--x 344 - 342 <--x 345 - 342 <--x 346 - 342 <--x 347 - 342 <--x 348 - 342 <--x 349 + 342 --- 343 + 342 --- 344 + 342 --- 345 + 342 --- 346 + 342 --- 347 + 342 --- 348 + 342 --- 349 342 ---- 350 342 --- 421 216 <--x 343 @@ -1994,16 +1994,16 @@ flowchart LR 374 <--x 385 375 <--x 386 376 <--x 387 - 377 <--x 378 - 377 <--x 379 - 377 <--x 380 - 377 <--x 381 - 377 <--x 382 - 377 <--x 383 - 377 <--x 384 - 377 <--x 385 - 377 <--x 386 - 377 <--x 387 + 377 --- 378 + 377 --- 379 + 377 --- 380 + 377 --- 381 + 377 --- 382 + 377 --- 383 + 377 --- 384 + 377 --- 385 + 377 --- 386 + 377 --- 387 377 ---- 388 377 --- 421 350 <--x 378 @@ -2125,12 +2125,12 @@ flowchart LR 428 <--x 435 429 <--x 436 430 <--x 437 - 431 <--x 432 - 431 <--x 433 - 431 <--x 434 - 431 <--x 435 - 431 <--x 436 - 431 <--x 437 + 431 --- 432 + 431 --- 433 + 431 --- 434 + 431 --- 435 + 431 --- 436 + 431 --- 437 431 ---- 438 431 --- 448 438 <--x 433 diff --git a/rust/kcl-lib/tests/kcl_samples/ceiling-fan/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/ceiling-fan/artifact_graph_flowchart.snap.md index deba6aa9f3c..90f5804a530 100644 --- a/rust/kcl-lib/tests/kcl_samples/ceiling-fan/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/ceiling-fan/artifact_graph_flowchart.snap.md @@ -365,16 +365,16 @@ flowchart LR 10 <--x 21 11 <--x 22 12 <--x 23 - 13 <--x 14 - 13 <--x 15 - 13 <--x 16 - 13 <--x 17 - 13 <--x 18 - 13 <--x 19 - 13 <--x 20 - 13 <--x 21 - 13 <--x 22 - 13 <--x 23 + 13 --- 14 + 13 --- 15 + 13 --- 16 + 13 --- 17 + 13 --- 18 + 13 --- 19 + 13 --- 20 + 13 --- 21 + 13 --- 22 + 13 --- 23 13 ---- 24 13 --- 102 14 --- 25 @@ -508,10 +508,10 @@ flowchart LR 61 <--x 86 62 <--x 67 62 <--x 87 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 - 63 <--x 67 + 63 --- 64 + 63 --- 65 + 63 --- 66 + 63 --- 67 63 ---- 68 63 --- 102 64 --- 69 @@ -575,10 +575,10 @@ flowchart LR 77 <--x 74 79 <--x 74 81 <--x 74 - 83 <--x 84 - 83 <--x 85 - 83 <--x 86 - 83 <--x 87 + 83 --- 84 + 83 --- 85 + 83 --- 86 + 83 --- 87 83 --- 103 84 --- 91 84 x--> 92 diff --git a/rust/kcl-lib/tests/kcl_samples/coilover-assembly/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/coilover-assembly/artifact_graph_flowchart.snap.md index b647022aa43..9c3190ee446 100644 --- a/rust/kcl-lib/tests/kcl_samples/coilover-assembly/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/coilover-assembly/artifact_graph_flowchart.snap.md @@ -845,7 +845,7 @@ flowchart LR 2 <--x 4 270 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 5 --- 112 5 x--> 114 @@ -866,7 +866,7 @@ flowchart LR 14 <--x 16 276 --- 14 15 <--x 17 - 16 <--x 17 + 16 --- 17 16 ---- 18 17 --- 135 17 x--> 137 @@ -887,7 +887,7 @@ flowchart LR 25 <--x 27 282 --- 25 26 <--x 28 - 27 <--x 28 + 27 --- 28 27 ---- 29 28 --- 80 28 x--> 83 @@ -909,7 +909,7 @@ flowchart LR 37 <--x 39 288 --- 37 38 <--x 40 - 39 <--x 40 + 39 --- 40 39 ---- 41 39 --- 105 40 --- 81 @@ -950,16 +950,16 @@ flowchart LR 58 <--x 69 59 <--x 70 60 <--x 71 - 61 <--x 62 - 61 <--x 63 - 61 <--x 64 - 61 <--x 65 - 61 <--x 66 - 61 <--x 67 - 61 <--x 68 - 61 <--x 69 - 61 <--x 70 - 61 <--x 71 + 61 --- 62 + 61 --- 63 + 61 --- 64 + 61 --- 65 + 61 --- 66 + 61 --- 67 + 61 --- 68 + 61 --- 69 + 61 --- 70 + 61 --- 71 61 ---- 72 61 --- 105 62 --- 82 @@ -1084,7 +1084,7 @@ flowchart LR 107 <--x 109 333 --- 107 108 <--x 110 - 109 <--x 110 + 109 --- 110 109 ---- 111 109 --- 117 110 --- 30 @@ -1107,7 +1107,7 @@ flowchart LR 119 <--x 121 340 --- 119 120 <--x 122 - 121 <--x 122 + 121 --- 122 121 ---- 123 121 --- 140 122 --- 124 @@ -1129,7 +1129,7 @@ flowchart LR 130 <--x 132 346 --- 130 131 <--x 133 - 132 <--x 133 + 132 --- 133 132 ---- 134 132 --- 140 133 --- 19 @@ -1153,7 +1153,7 @@ flowchart LR 144 <--x 146 352 --- 144 145 <--x 147 - 146 <--x 147 + 146 --- 147 146 ---- 148 147 --- 149 147 x--> 150 @@ -1174,7 +1174,7 @@ flowchart LR 155 <--x 157 359 --- 155 156 <--x 158 - 157 <--x 158 + 157 --- 158 157 ---- 159 158 --- 160 158 x--> 162 @@ -1196,7 +1196,7 @@ flowchart LR 167 <--x 169 365 --- 167 168 <--x 170 - 169 <--x 170 + 169 --- 170 169 ---- 171 170 --- 264 170 x--> 266 @@ -1217,7 +1217,7 @@ flowchart LR 178 <--x 180 371 --- 178 179 <--x 181 - 180 <--x 181 + 180 --- 181 180 ---- 182 181 --- 225 181 x--> 235 @@ -1239,7 +1239,7 @@ flowchart LR 190 <--x 192 377 --- 190 191 <--x 193 - 192 <--x 193 + 192 --- 193 192 ---- 194 192 --- 257 193 --- 226 @@ -1280,16 +1280,16 @@ flowchart LR 210 <--x 221 211 <--x 222 212 <--x 223 - 213 <--x 214 - 213 <--x 215 - 213 <--x 216 - 213 <--x 217 - 213 <--x 218 - 213 <--x 219 - 213 <--x 220 - 213 <--x 221 - 213 <--x 222 - 213 <--x 223 + 213 --- 214 + 213 --- 215 + 213 --- 216 + 213 --- 217 + 213 --- 218 + 213 --- 219 + 213 --- 220 + 213 --- 221 + 213 --- 222 + 213 --- 223 213 ---- 224 213 --- 257 214 --- 227 @@ -1412,7 +1412,7 @@ flowchart LR 259 <--x 261 416 --- 259 260 <--x 262 - 261 <--x 262 + 261 --- 262 261 ---- 263 261 --- 269 262 --- 172 diff --git a/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md index 1295bce6ffb..689a13e1475 100644 --- a/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/cold-plate/artifact_graph_flowchart.snap.md @@ -773,33 +773,33 @@ flowchart LR 27 <--x 55 28 <--x 56 29 <--x 57 - 30 <--x 31 - 30 <--x 32 - 30 <--x 33 - 30 <--x 34 - 30 <--x 35 - 30 <--x 36 - 30 <--x 37 - 30 <--x 38 - 30 <--x 39 - 30 <--x 40 - 30 <--x 41 - 30 <--x 42 - 30 <--x 43 - 30 <--x 44 - 30 <--x 45 - 30 <--x 46 - 30 <--x 47 - 30 <--x 48 - 30 <--x 49 - 30 <--x 50 - 30 <--x 51 - 30 <--x 52 - 30 <--x 53 - 30 <--x 54 - 30 <--x 55 - 30 <--x 56 - 30 <--x 57 + 30 --- 31 + 30 --- 32 + 30 --- 33 + 30 --- 34 + 30 --- 35 + 30 --- 36 + 30 --- 37 + 30 --- 38 + 30 --- 39 + 30 --- 40 + 30 --- 41 + 30 --- 42 + 30 --- 43 + 30 --- 44 + 30 --- 45 + 30 --- 46 + 30 --- 47 + 30 --- 48 + 30 --- 49 + 30 --- 50 + 30 --- 51 + 30 --- 52 + 30 --- 53 + 30 --- 54 + 30 --- 55 + 30 --- 56 + 30 --- 57 30 ---- 58 31 --- 65 31 x--> 86 @@ -1124,10 +1124,10 @@ flowchart LR 154 <--x 159 155 <--x 160 156 <--x 161 - 157 <--x 158 - 157 <--x 159 - 157 <--x 160 - 157 <--x 161 + 157 --- 158 + 157 --- 159 + 157 --- 160 + 157 --- 161 157 ---- 162 157 --- 177 158 --- 163 @@ -1185,7 +1185,7 @@ flowchart LR 179 <--x 182 368 --- 179 180 <--x 183 - 182 <--x 183 + 182 --- 183 182 ---- 192 183 --- 193 183 x--> 194 diff --git a/rust/kcl-lib/tests/kcl_samples/color-cube/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/color-cube/artifact_graph_flowchart.snap.md index b1598f9850f..58f682fafdf 100644 --- a/rust/kcl-lib/tests/kcl_samples/color-cube/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/color-cube/artifact_graph_flowchart.snap.md @@ -287,10 +287,10 @@ flowchart LR 6 <--x 69 6 <--x 88 6 <--x 107 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 @@ -413,10 +413,10 @@ flowchart LR 21 <--x 18 23 <--x 18 25 <--x 18 - 27 <--x 28 - 27 <--x 29 - 27 <--x 30 - 27 <--x 31 + 27 --- 28 + 27 --- 29 + 27 --- 30 + 27 --- 31 28 --- 32 28 x--> 36 28 --- 38 @@ -449,10 +449,10 @@ flowchart LR 40 <--x 37 42 <--x 37 44 <--x 37 - 46 <--x 47 - 46 <--x 48 - 46 <--x 49 - 46 <--x 50 + 46 --- 47 + 46 --- 48 + 46 --- 49 + 46 --- 50 47 --- 51 47 x--> 55 47 --- 57 @@ -485,10 +485,10 @@ flowchart LR 59 <--x 56 61 <--x 56 63 <--x 56 - 65 <--x 66 - 65 <--x 67 - 65 <--x 68 - 65 <--x 69 + 65 --- 66 + 65 --- 67 + 65 --- 68 + 65 --- 69 66 --- 70 66 x--> 74 66 --- 76 @@ -521,10 +521,10 @@ flowchart LR 78 <--x 75 80 <--x 75 82 <--x 75 - 84 <--x 85 - 84 <--x 86 - 84 <--x 87 - 84 <--x 88 + 84 --- 85 + 84 --- 86 + 84 --- 87 + 84 --- 88 85 --- 91 85 x--> 93 85 --- 99 @@ -557,10 +557,10 @@ flowchart LR 97 <--x 94 99 <--x 94 101 <--x 94 - 103 <--x 104 - 103 <--x 105 - 103 <--x 106 - 103 <--x 107 + 103 --- 104 + 103 --- 105 + 103 --- 106 + 103 --- 107 104 --- 108 104 x--> 112 104 --- 114 diff --git a/rust/kcl-lib/tests/kcl_samples/cone/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/cone/artifact_graph_flowchart.snap.md index c020bd56c0b..5e4bfedf1c2 100644 --- a/rust/kcl-lib/tests/kcl_samples/cone/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/cone/artifact_graph_flowchart.snap.md @@ -58,9 +58,9 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 6 ---- 10 10 <--x 8 8 --- 11 diff --git a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md index df5a9209fd6..4c6f45ad7a9 100644 --- a/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/counterdrilled-weldment/artifact_graph_flowchart.snap.md @@ -522,10 +522,10 @@ flowchart LR 4 <--x 10 5 <--x 11 6 <--x 12 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 8 ---- 13 8 --- 59 9 --- 14 @@ -588,7 +588,7 @@ flowchart LR 33 <--x 35 174 --- 33 34 <--x 36 - 35 <--x 36 + 35 --- 36 35 ---- 37 35 --- 43 35 --- 44 @@ -611,7 +611,7 @@ flowchart LR 46 <--x 48 187 --- 46 47 <--x 49 - 48 <--x 49 + 48 --- 49 48 ---- 50 48 --- 56 48 --- 57 @@ -638,7 +638,7 @@ flowchart LR 62 <--x 64 200 --- 62 63 <--x 65 - 64 <--x 65 + 64 --- 65 64 ---- 66 64 --- 84 65 --- 67 @@ -661,7 +661,7 @@ flowchart LR 73 <--x 76 210 --- 73 74 <--x 77 - 76 <--x 77 + 76 --- 77 76 ---- 78 76 --- 84 77 --- 79 @@ -691,11 +691,11 @@ flowchart LR 89 <--x 95 90 <--x 96 91 <--x 97 - 92 <--x 93 - 92 <--x 94 - 92 <--x 95 - 92 <--x 96 - 92 <--x 97 + 92 --- 93 + 92 --- 94 + 92 --- 95 + 92 --- 96 + 92 --- 97 92 ---- 98 92 --- 116 93 --- 100 @@ -771,11 +771,11 @@ flowchart LR 121 <--x 127 122 <--x 128 123 <--x 129 - 124 <--x 125 - 124 <--x 126 - 124 <--x 127 - 124 <--x 128 - 124 <--x 129 + 124 --- 125 + 124 --- 126 + 124 --- 127 + 124 --- 128 + 124 --- 129 124 ---- 130 124 --- 148 125 --- 131 diff --git a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md index 281424e9e0d..6400ad36913 100644 --- a/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/countersunk-plate/artifact_graph_flowchart.snap.md @@ -254,14 +254,14 @@ flowchart LR 8 <--x 18 9 <--x 19 10 <--x 20 - 12 <--x 13 - 12 <--x 14 - 12 <--x 15 - 12 <--x 16 - 12 <--x 17 - 12 <--x 18 - 12 <--x 19 - 12 <--x 20 + 12 --- 13 + 12 --- 14 + 12 --- 15 + 12 --- 16 + 12 --- 17 + 12 --- 18 + 12 --- 19 + 12 --- 20 12 ---- 21 12 --- 68 13 --- 22 diff --git a/rust/kcl-lib/tests/kcl_samples/crash-box/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/crash-box/artifact_graph_flowchart.snap.md index 58cde1799d2..c9bcd3108fc 100644 --- a/rust/kcl-lib/tests/kcl_samples/crash-box/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/crash-box/artifact_graph_flowchart.snap.md @@ -221,10 +221,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 55 8 --- 16 @@ -287,10 +287,10 @@ flowchart LR 31 <--x 36 32 <--x 37 33 <--x 38 - 34 <--x 35 - 34 <--x 36 - 34 <--x 37 - 34 <--x 38 + 34 --- 35 + 34 --- 36 + 34 --- 37 + 34 --- 38 34 ---- 39 34 --- 55 35 --- 42 diff --git a/rust/kcl-lib/tests/kcl_samples/curtain-wall-anchor-plate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/curtain-wall-anchor-plate/artifact_graph_flowchart.snap.md index 6e6d7fd606c..238b86f301a 100644 --- a/rust/kcl-lib/tests/kcl_samples/curtain-wall-anchor-plate/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/curtain-wall-anchor-plate/artifact_graph_flowchart.snap.md @@ -575,12 +575,12 @@ flowchart LR 6 <--x 13 7 <--x 14 8 <--x 15 - 9 <--x 10 - 9 <--x 11 - 9 <--x 12 - 9 <--x 13 - 9 <--x 14 - 9 <--x 15 + 9 --- 10 + 9 --- 11 + 9 --- 12 + 9 --- 13 + 9 --- 14 + 9 --- 15 9 ---- 16 9 --- 84 10 --- 20 @@ -672,10 +672,10 @@ flowchart LR 43 <--x 68 44 <--x 49 44 <--x 69 - 45 <--x 46 - 45 <--x 47 - 45 <--x 48 - 45 <--x 49 + 45 --- 46 + 45 --- 47 + 45 --- 48 + 45 --- 49 45 ---- 50 45 --- 84 46 --- 51 @@ -739,10 +739,10 @@ flowchart LR 59 <--x 56 61 <--x 56 63 <--x 56 - 65 <--x 66 - 65 <--x 67 - 65 <--x 68 - 65 <--x 69 + 65 --- 66 + 65 --- 67 + 65 --- 68 + 65 --- 69 65 --- 85 66 --- 70 66 x--> 74 @@ -794,12 +794,12 @@ flowchart LR 91 <--x 98 92 <--x 99 93 <--x 100 - 94 <--x 95 - 94 <--x 96 - 94 <--x 97 - 94 <--x 98 - 94 <--x 99 - 94 <--x 100 + 94 --- 95 + 94 --- 96 + 94 --- 97 + 94 --- 98 + 94 --- 99 + 94 --- 100 94 ---- 101 94 --- 191 95 --- 102 @@ -879,7 +879,7 @@ flowchart LR 122 <--x 124 259 --- 122 123 <--x 125 - 124 <--x 125 + 124 --- 125 124 ---- 126 125 --- 127 125 --- 129 @@ -904,10 +904,10 @@ flowchart LR 134 <--x 139 135 <--x 140 136 <--x 141 - 137 <--x 138 - 137 <--x 139 - 137 <--x 140 - 137 <--x 141 + 137 --- 138 + 137 --- 139 + 137 --- 140 + 137 --- 141 137 ---- 142 137 --- 191 138 --- 143 @@ -980,12 +980,12 @@ flowchart LR 161 <--x 168 162 <--x 169 163 <--x 170 - 164 <--x 165 - 164 <--x 166 - 164 <--x 167 - 164 <--x 168 - 164 <--x 169 - 164 <--x 170 + 164 --- 165 + 164 --- 166 + 164 --- 167 + 164 --- 168 + 164 --- 169 + 164 --- 170 164 ---- 171 165 --- 172 165 --- 179 diff --git a/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/artifact_graph_flowchart.snap.md index d2e055671df..b58bd631212 100644 --- a/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/artifact_graph_flowchart.snap.md @@ -212,12 +212,12 @@ flowchart LR 10 <--x 19 93 --- 10 11 <--x 20 - 12 <--x 13 - 12 <--x 14 - 12 <--x 15 - 12 <--x 16 - 12 <--x 17 - 12 <--x 18 + 12 --- 13 + 12 --- 14 + 12 --- 15 + 12 --- 16 + 12 --- 17 + 12 --- 18 12 ---- 21 12 --- 48 13 --- 22 @@ -244,7 +244,7 @@ flowchart LR 18 x--> 28 18 --- 40 18 --- 41 - 19 <--x 20 + 19 --- 20 19 ---- 42 19 --- 48 20 --- 43 diff --git a/rust/kcl-lib/tests/kcl_samples/cylinder/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/cylinder/artifact_graph_flowchart.snap.md index 55b6351c3ec..9c523acc2c6 100644 --- a/rust/kcl-lib/tests/kcl_samples/cylinder/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/cylinder/artifact_graph_flowchart.snap.md @@ -37,7 +37,7 @@ flowchart LR 2 <--x 4 12 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 5 --- 7 5 x--> 8 diff --git a/rust/kcl-lib/tests/kcl_samples/desk-edge-stopper/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/desk-edge-stopper/artifact_graph_flowchart.snap.md index 151a8bf1a53..364fb5c84ec 100644 --- a/rust/kcl-lib/tests/kcl_samples/desk-edge-stopper/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/desk-edge-stopper/artifact_graph_flowchart.snap.md @@ -241,16 +241,16 @@ flowchart LR 10 <--x 21 11 <--x 22 12 <--x 23 - 13 <--x 14 - 13 <--x 15 - 13 <--x 16 - 13 <--x 17 - 13 <--x 18 - 13 <--x 19 - 13 <--x 20 - 13 <--x 21 - 13 <--x 22 - 13 <--x 23 + 13 --- 14 + 13 --- 15 + 13 --- 16 + 13 --- 17 + 13 --- 18 + 13 --- 19 + 13 --- 20 + 13 --- 21 + 13 --- 22 + 13 --- 23 13 ---- 24 13 --- 82 14 --- 25 @@ -378,7 +378,7 @@ flowchart LR 59 <--x 61 59 <--x 69 59 <--x 76 - 60 <--x 61 + 60 --- 61 60 ---- 62 60 --- 82 61 --- 63 @@ -405,7 +405,7 @@ flowchart LR 63 --- 66 63 --- 67 66 <--x 64 - 68 <--x 69 + 68 --- 69 68 --- 82 69 --- 70 69 x--> 72 @@ -414,7 +414,7 @@ flowchart LR 70 --- 73 70 --- 74 73 <--x 71 - 75 <--x 76 + 75 --- 76 75 --- 82 76 --- 77 76 x--> 79 diff --git a/rust/kcl-lib/tests/kcl_samples/dining-table/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/dining-table/artifact_graph_flowchart.snap.md index 4acf605a0fc..3a24c4d5ee9 100644 --- a/rust/kcl-lib/tests/kcl_samples/dining-table/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/dining-table/artifact_graph_flowchart.snap.md @@ -459,10 +459,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 18 @@ -541,10 +541,10 @@ flowchart LR 32 <--x 57 32 <--x 76 32 <--x 95 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 34 --- 39 34 x--> 43 @@ -637,10 +637,10 @@ flowchart LR 47 <--x 44 49 <--x 44 51 <--x 44 - 53 <--x 54 - 53 <--x 55 - 53 <--x 56 - 53 <--x 57 + 53 --- 54 + 53 --- 55 + 53 --- 56 + 53 --- 57 54 --- 58 54 x--> 62 54 --- 64 @@ -673,10 +673,10 @@ flowchart LR 66 <--x 63 68 <--x 63 70 <--x 63 - 72 <--x 73 - 72 <--x 74 - 72 <--x 75 - 72 <--x 76 + 72 --- 73 + 72 --- 74 + 72 --- 75 + 72 --- 76 73 --- 77 73 x--> 81 73 --- 83 @@ -709,10 +709,10 @@ flowchart LR 85 <--x 82 87 <--x 82 89 <--x 82 - 91 <--x 92 - 91 <--x 93 - 91 <--x 94 - 91 <--x 95 + 91 --- 92 + 91 --- 93 + 91 --- 94 + 91 --- 95 92 --- 96 92 x--> 100 92 --- 102 @@ -768,10 +768,10 @@ flowchart LR 114 <--x 139 115 <--x 120 115 <--x 140 - 116 <--x 117 - 116 <--x 118 - 116 <--x 119 - 116 <--x 120 + 116 --- 117 + 116 --- 118 + 116 --- 119 + 116 --- 120 116 ---- 121 117 --- 122 117 x--> 127 @@ -834,10 +834,10 @@ flowchart LR 130 <--x 126 132 <--x 126 134 <--x 126 - 136 <--x 137 - 136 <--x 138 - 136 <--x 139 - 136 <--x 140 + 136 --- 137 + 136 --- 138 + 136 --- 139 + 136 --- 140 137 --- 141 137 x--> 146 137 --- 147 @@ -885,10 +885,10 @@ flowchart LR 158 <--x 183 159 <--x 164 159 <--x 184 - 160 <--x 161 - 160 <--x 162 - 160 <--x 163 - 160 <--x 164 + 160 --- 161 + 160 --- 162 + 160 --- 163 + 160 --- 164 160 ---- 165 161 --- 166 161 x--> 171 @@ -951,10 +951,10 @@ flowchart LR 174 <--x 170 176 <--x 170 178 <--x 170 - 180 <--x 181 - 180 <--x 182 - 180 <--x 183 - 180 <--x 184 + 180 --- 181 + 180 --- 182 + 180 --- 183 + 180 --- 184 181 --- 185 181 x--> 190 181 --- 191 diff --git a/rust/kcl-lib/tests/kcl_samples/dodecahedron/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/dodecahedron/artifact_graph_flowchart.snap.md index 1bd753b9b6b..16df1b4c73d 100644 --- a/rust/kcl-lib/tests/kcl_samples/dodecahedron/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/dodecahedron/artifact_graph_flowchart.snap.md @@ -527,10 +527,10 @@ flowchart LR 6 <--x 183 6 <--x 202 6 <--x 221 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 236 8 --- 13 @@ -744,10 +744,10 @@ flowchart LR 21 <--x 18 23 <--x 18 25 <--x 18 - 27 <--x 28 - 27 <--x 29 - 27 <--x 30 - 27 <--x 31 + 27 --- 28 + 27 --- 29 + 27 --- 30 + 27 --- 31 27 --- 237 28 --- 32 28 x--> 36 @@ -781,10 +781,10 @@ flowchart LR 40 <--x 37 42 <--x 37 44 <--x 37 - 46 <--x 47 - 46 <--x 48 - 46 <--x 49 - 46 <--x 50 + 46 --- 47 + 46 --- 48 + 46 --- 49 + 46 --- 50 46 --- 238 47 --- 51 47 x--> 55 @@ -818,10 +818,10 @@ flowchart LR 59 <--x 56 61 <--x 56 63 <--x 56 - 65 <--x 66 - 65 <--x 67 - 65 <--x 68 - 65 <--x 69 + 65 --- 66 + 65 --- 67 + 65 --- 68 + 65 --- 69 65 --- 239 66 --- 70 66 x--> 74 @@ -855,10 +855,10 @@ flowchart LR 78 <--x 75 80 <--x 75 82 <--x 75 - 84 <--x 85 - 84 <--x 86 - 84 <--x 87 - 84 <--x 88 + 84 --- 85 + 84 --- 86 + 84 --- 87 + 84 --- 88 84 --- 240 85 --- 91 85 x--> 93 @@ -892,10 +892,10 @@ flowchart LR 97 <--x 94 99 <--x 94 101 <--x 94 - 103 <--x 104 - 103 <--x 105 - 103 <--x 106 - 103 <--x 107 + 103 --- 104 + 103 --- 105 + 103 --- 106 + 103 --- 107 103 --- 241 104 --- 108 104 x--> 112 @@ -929,10 +929,10 @@ flowchart LR 116 <--x 113 118 <--x 113 120 <--x 113 - 122 <--x 123 - 122 <--x 124 - 122 <--x 125 - 122 <--x 126 + 122 --- 123 + 122 --- 124 + 122 --- 125 + 122 --- 126 122 --- 242 123 --- 127 123 x--> 131 @@ -966,10 +966,10 @@ flowchart LR 135 <--x 132 137 <--x 132 139 <--x 132 - 141 <--x 142 - 141 <--x 143 - 141 <--x 144 - 141 <--x 145 + 141 --- 142 + 141 --- 143 + 141 --- 144 + 141 --- 145 141 --- 243 142 --- 146 142 x--> 150 @@ -1003,10 +1003,10 @@ flowchart LR 154 <--x 151 156 <--x 151 158 <--x 151 - 160 <--x 161 - 160 <--x 162 - 160 <--x 163 - 160 <--x 164 + 160 --- 161 + 160 --- 162 + 160 --- 163 + 160 --- 164 160 --- 244 161 --- 165 161 x--> 169 @@ -1040,10 +1040,10 @@ flowchart LR 173 <--x 170 175 <--x 170 177 <--x 170 - 179 <--x 180 - 179 <--x 181 - 179 <--x 182 - 179 <--x 183 + 179 --- 180 + 179 --- 181 + 179 --- 182 + 179 --- 183 179 --- 245 180 --- 184 180 x--> 188 @@ -1077,10 +1077,10 @@ flowchart LR 192 <--x 189 194 <--x 189 196 <--x 189 - 198 <--x 199 - 198 <--x 200 - 198 <--x 201 - 198 <--x 202 + 198 --- 199 + 198 --- 200 + 198 --- 201 + 198 --- 202 198 --- 246 199 --- 203 199 x--> 207 @@ -1114,10 +1114,10 @@ flowchart LR 211 <--x 208 213 <--x 208 215 <--x 208 - 217 <--x 218 - 217 <--x 219 - 217 <--x 220 - 217 <--x 221 + 217 --- 218 + 217 --- 219 + 217 --- 220 + 217 --- 221 217 --- 236 218 --- 222 218 x--> 226 diff --git a/rust/kcl-lib/tests/kcl_samples/double-hook/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/double-hook/artifact_graph_flowchart.snap.md index 6ee7329f6d3..6327c0fcb87 100644 --- a/rust/kcl-lib/tests/kcl_samples/double-hook/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/double-hook/artifact_graph_flowchart.snap.md @@ -179,7 +179,7 @@ flowchart LR 14 <--x 16 74 --- 14 15 <--x 17 - 16 <--x 17 + 16 --- 17 16 ---- 29 17 --- 30 17 x--> 31 diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md index c7543dbd24c..2d4eb49da6f 100644 --- a/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/enclosure/artifact_graph_flowchart.snap.md @@ -469,10 +469,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 16 8 x--> 17 @@ -538,7 +538,7 @@ flowchart LR 30 <--x 41 30 <--x 48 30 <--x 55 - 32 <--x 33 + 32 --- 33 32 ---- 34 33 --- 35 33 x--> 36 @@ -570,7 +570,7 @@ flowchart LR 35 --- 38 35 --- 39 38 <--x 37 - 40 <--x 41 + 40 --- 41 41 --- 42 41 x--> 43 41 --- 45 @@ -578,7 +578,7 @@ flowchart LR 42 --- 45 42 --- 46 45 <--x 44 - 47 <--x 48 + 47 --- 48 48 --- 49 48 x--> 50 48 --- 52 @@ -586,7 +586,7 @@ flowchart LR 49 --- 52 49 --- 53 52 <--x 51 - 54 <--x 55 + 54 --- 55 55 --- 56 55 x--> 57 55 --- 59 @@ -611,10 +611,10 @@ flowchart LR 64 <--x 73 65 <--x 74 66 <--x 75 - 71 <--x 72 - 71 <--x 73 - 71 <--x 74 - 71 <--x 75 + 71 --- 72 + 71 --- 73 + 71 --- 74 + 71 --- 75 71 ---- 76 72 --- 80 72 x--> 81 @@ -681,10 +681,10 @@ flowchart LR 94 <--x 103 95 <--x 104 96 <--x 105 - 101 <--x 102 - 101 <--x 103 - 101 <--x 104 - 101 <--x 105 + 101 --- 102 + 101 --- 103 + 101 --- 104 + 101 --- 105 101 ---- 106 102 --- 110 102 x--> 111 diff --git a/rust/kcl-lib/tests/kcl_samples/engine-valve/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/engine-valve/artifact_graph_flowchart.snap.md index d34e9e2f5e3..1bff264c7d9 100644 --- a/rust/kcl-lib/tests/kcl_samples/engine-valve/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/engine-valve/artifact_graph_flowchart.snap.md @@ -341,29 +341,29 @@ flowchart LR 23 <--x 47 24 <--x 48 25 <--x 49 - 26 <--x 27 - 26 <--x 28 - 26 <--x 29 - 26 <--x 30 - 26 <--x 31 - 26 <--x 32 - 26 <--x 33 - 26 <--x 34 - 26 <--x 35 - 26 <--x 36 - 26 <--x 37 - 26 <--x 38 - 26 <--x 39 - 26 <--x 40 - 26 <--x 41 - 26 <--x 42 - 26 <--x 43 - 26 <--x 44 - 26 <--x 45 - 26 <--x 46 - 26 <--x 47 - 26 <--x 48 - 26 <--x 49 + 26 --- 27 + 26 --- 28 + 26 --- 29 + 26 --- 30 + 26 --- 31 + 26 --- 32 + 26 --- 33 + 26 --- 34 + 26 --- 35 + 26 --- 36 + 26 --- 37 + 26 --- 38 + 26 --- 39 + 26 --- 40 + 26 --- 41 + 26 --- 42 + 26 --- 43 + 26 --- 44 + 26 --- 45 + 26 --- 46 + 26 --- 47 + 26 --- 48 + 26 --- 49 26 ---- 50 50 <--x 29 29 --- 70 diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md index d8a1b6d7ac9..7adb2416314 100644 --- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/artifact_graph_flowchart.snap.md @@ -614,7 +614,7 @@ flowchart LR 170 --- 9 10 <--x 13 10 <--x 21 - 12 <--x 13 + 12 --- 13 12 ---- 14 13 --- 15 13 x--> 16 @@ -634,7 +634,7 @@ flowchart LR 15 --- 18 15 --- 19 18 <--x 17 - 20 <--x 21 + 20 --- 21 21 --- 22 21 x--> 23 21 --- 25 @@ -662,7 +662,7 @@ flowchart LR 203 --- 35 36 <--x 39 36 <--x 47 - 38 <--x 39 + 38 --- 39 38 ---- 40 39 --- 41 39 x--> 42 @@ -682,7 +682,7 @@ flowchart LR 41 --- 44 41 --- 45 44 <--x 43 - 46 <--x 47 + 46 --- 47 47 --- 48 47 x--> 49 47 --- 51 @@ -735,22 +735,22 @@ flowchart LR 68 <--x 93 69 <--x 94 70 <--x 95 - 79 <--x 80 - 79 <--x 81 - 79 <--x 82 - 79 <--x 83 - 79 <--x 84 - 79 <--x 85 - 79 <--x 86 - 79 <--x 87 - 79 <--x 88 - 79 <--x 89 - 79 <--x 90 - 79 <--x 91 - 79 <--x 92 - 79 <--x 93 - 79 <--x 94 - 79 <--x 95 + 79 --- 80 + 79 --- 81 + 79 --- 82 + 79 --- 83 + 79 --- 84 + 79 --- 85 + 79 --- 86 + 79 --- 87 + 79 --- 88 + 79 --- 89 + 79 --- 90 + 79 --- 91 + 79 --- 92 + 79 --- 93 + 79 --- 94 + 79 --- 95 79 ---- 96 80 --- 107 80 x--> 113 diff --git a/rust/kcl-lib/tests/kcl_samples/field-monitor-stand/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/field-monitor-stand/artifact_graph_flowchart.snap.md index 57e14d2227f..1ae2a23643e 100644 --- a/rust/kcl-lib/tests/kcl_samples/field-monitor-stand/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/field-monitor-stand/artifact_graph_flowchart.snap.md @@ -221,12 +221,12 @@ flowchart LR 6 <--x 13 7 <--x 14 8 <--x 15 - 9 <--x 10 - 9 <--x 11 - 9 <--x 12 - 9 <--x 13 - 9 <--x 14 - 9 <--x 15 + 9 --- 10 + 9 --- 11 + 9 --- 12 + 9 --- 13 + 9 --- 14 + 9 --- 15 9 ---- 16 9 --- 72 10 --- 18 @@ -309,9 +309,9 @@ flowchart LR 39 <--x 43 40 <--x 44 41 <--x 45 - 42 <--x 43 - 42 <--x 44 - 42 <--x 45 + 42 --- 43 + 42 --- 44 + 42 --- 45 42 ---- 46 43 --- 47 43 x--> 50 @@ -355,7 +355,7 @@ flowchart LR 59 <--x 61 102 --- 59 60 <--x 62 - 61 <--x 62 + 61 --- 62 61 ---- 63 61 --- 69 61 --- 70 diff --git a/rust/kcl-lib/tests/kcl_samples/flange/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/flange/artifact_graph_flowchart.snap.md index fc794ec986c..69411675f1e 100644 --- a/rust/kcl-lib/tests/kcl_samples/flange/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/flange/artifact_graph_flowchart.snap.md @@ -225,7 +225,7 @@ flowchart LR 2 <--x 8 45 --- 2 3 <--x 9 - 8 <--x 9 + 8 --- 9 8 ---- 10 8 --- 44 9 --- 11 @@ -254,7 +254,7 @@ flowchart LR 16 <--x 18 84 --- 16 17 <--x 19 - 18 <--x 19 + 18 --- 19 18 ---- 20 19 --- 21 19 --- 23 @@ -274,7 +274,7 @@ flowchart LR 25 <--x 27 91 --- 25 26 <--x 28 - 27 <--x 28 + 27 --- 28 27 ---- 29 28 --- 30 28 --- 32 @@ -290,7 +290,7 @@ flowchart LR 34 <--x 36 98 --- 34 35 <--x 37 - 36 <--x 37 + 36 --- 37 36 ---- 38 36 --- 44 37 --- 39 diff --git a/rust/kcl-lib/tests/kcl_samples/flat-bladed-impeller/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/flat-bladed-impeller/artifact_graph_flowchart.snap.md index 1e05c3aacfc..dafb22db721 100644 --- a/rust/kcl-lib/tests/kcl_samples/flat-bladed-impeller/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/flat-bladed-impeller/artifact_graph_flowchart.snap.md @@ -197,10 +197,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 27 8 --- 13 @@ -257,7 +257,7 @@ flowchart LR 29 <--x 31 74 --- 29 30 <--x 32 - 31 <--x 32 + 31 --- 32 31 ---- 33 31 --- 58 32 --- 34 @@ -283,7 +283,7 @@ flowchart LR 39 <--x 41 80 --- 39 40 <--x 42 - 41 <--x 42 + 41 --- 42 41 ---- 43 42 --- 44 42 --- 46 @@ -299,7 +299,7 @@ flowchart LR 48 <--x 50 86 --- 48 49 <--x 51 - 50 <--x 51 + 50 --- 51 50 ---- 52 50 --- 58 51 --- 53 diff --git a/rust/kcl-lib/tests/kcl_samples/fun-stacker-toy/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/fun-stacker-toy/artifact_graph_flowchart.snap.md index afd1f83ce1c..2a6ea86abd0 100644 --- a/rust/kcl-lib/tests/kcl_samples/fun-stacker-toy/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/fun-stacker-toy/artifact_graph_flowchart.snap.md @@ -356,12 +356,12 @@ flowchart LR 12 <--x 64 13 <--x 73 13 <--x 74 - 14 <--x 15 - 14 <--x 16 - 14 <--x 17 - 14 <--x 18 - 14 <--x 19 - 14 <--x 20 + 14 --- 15 + 14 --- 16 + 14 --- 17 + 14 --- 18 + 14 --- 19 + 14 --- 20 14 ---- 21 21 <--x 16 16 --- 23 @@ -394,8 +394,8 @@ flowchart LR 29 <--x 25 25 --- 30 30 <--x 26 - 31 <--x 32 - 31 <--x 33 + 31 --- 32 + 31 --- 33 31 ---- 34 34 <--x 32 32 --- 35 @@ -411,9 +411,9 @@ flowchart LR 38 <--x 35 37 <--x 36 36 --- 38 - 39 <--x 40 - 39 <--x 41 - 39 <--x 42 + 39 --- 40 + 39 --- 41 + 39 --- 42 39 ---- 43 43 <--x 40 40 --- 44 @@ -436,9 +436,9 @@ flowchart LR 45 --- 48 48 <--x 46 46 --- 49 - 50 <--x 51 - 50 <--x 52 - 50 <--x 53 + 50 --- 51 + 50 --- 52 + 50 --- 53 50 ---- 54 54 <--x 51 51 --- 55 @@ -461,9 +461,9 @@ flowchart LR 56 --- 59 59 <--x 57 57 --- 60 - 61 <--x 62 - 61 <--x 63 - 61 <--x 64 + 61 --- 62 + 61 --- 63 + 61 --- 64 61 ---- 65 65 <--x 62 62 --- 66 @@ -486,8 +486,8 @@ flowchart LR 67 --- 70 70 <--x 68 68 --- 71 - 72 <--x 73 - 72 <--x 74 + 72 --- 73 + 72 --- 74 72 ---- 75 75 <--x 73 73 --- 76 @@ -516,10 +516,10 @@ flowchart LR 83 <--x 88 84 <--x 89 85 <--x 90 - 86 <--x 87 - 86 <--x 88 - 86 <--x 89 - 86 <--x 90 + 86 --- 87 + 86 --- 88 + 86 --- 89 + 86 --- 90 86 ---- 91 87 --- 95 87 x--> 97 diff --git a/rust/kcl-lib/tests/kcl_samples/gallows-bracket/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gallows-bracket/artifact_graph_flowchart.snap.md index d6ff4d1331d..178cfa8430f 100644 --- a/rust/kcl-lib/tests/kcl_samples/gallows-bracket/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gallows-bracket/artifact_graph_flowchart.snap.md @@ -923,12 +923,12 @@ flowchart LR 6 <--x 13 7 <--x 14 8 <--x 15 - 9 <--x 10 - 9 <--x 11 - 9 <--x 12 - 9 <--x 13 - 9 <--x 14 - 9 <--x 15 + 9 --- 10 + 9 --- 11 + 9 --- 12 + 9 --- 13 + 9 --- 14 + 9 --- 15 9 ---- 16 10 --- 17 10 x--> 23 @@ -1015,12 +1015,12 @@ flowchart LR 42 <--x 49 43 <--x 50 44 <--x 51 - 45 <--x 46 - 45 <--x 47 - 45 <--x 48 - 45 <--x 49 - 45 <--x 50 - 45 <--x 51 + 45 --- 46 + 45 --- 47 + 45 --- 48 + 45 --- 49 + 45 --- 50 + 45 --- 51 45 ---- 52 45 --- 99 46 --- 53 @@ -1104,10 +1104,10 @@ flowchart LR 76 <--x 81 77 <--x 82 78 <--x 83 - 79 <--x 80 - 79 <--x 81 - 79 <--x 82 - 79 <--x 83 + 79 --- 80 + 79 --- 81 + 79 --- 82 + 79 --- 83 79 ---- 84 79 --- 99 80 --- 85 @@ -1164,7 +1164,7 @@ flowchart LR 101 <--x 103 359 --- 101 102 <--x 104 - 103 <--x 104 + 103 --- 104 103 ---- 105 103 --- 111 103 --- 112 @@ -1199,12 +1199,12 @@ flowchart LR 118 <--x 125 119 <--x 126 120 <--x 127 - 121 <--x 122 - 121 <--x 123 - 121 <--x 124 - 121 <--x 125 - 121 <--x 126 - 121 <--x 127 + 121 --- 122 + 121 --- 123 + 121 --- 124 + 121 --- 125 + 121 --- 126 + 121 --- 127 121 ---- 128 121 --- 175 122 --- 129 @@ -1288,10 +1288,10 @@ flowchart LR 152 <--x 157 153 <--x 158 154 <--x 159 - 155 <--x 156 - 155 <--x 157 - 155 <--x 158 - 155 <--x 159 + 155 --- 156 + 155 --- 157 + 155 --- 158 + 155 --- 159 155 ---- 160 155 --- 175 156 --- 161 @@ -1348,7 +1348,7 @@ flowchart LR 177 <--x 179 405 --- 177 178 <--x 180 - 179 <--x 180 + 179 --- 180 179 ---- 181 179 --- 187 180 --- 182 @@ -1381,12 +1381,12 @@ flowchart LR 193 <--x 200 194 <--x 201 195 <--x 202 - 196 <--x 197 - 196 <--x 198 - 196 <--x 199 - 196 <--x 200 - 196 <--x 201 - 196 <--x 202 + 196 --- 197 + 196 --- 198 + 196 --- 199 + 196 --- 200 + 196 --- 201 + 196 --- 202 196 ---- 203 196 --- 250 197 --- 204 @@ -1470,10 +1470,10 @@ flowchart LR 227 <--x 232 228 <--x 233 229 <--x 234 - 230 <--x 231 - 230 <--x 232 - 230 <--x 233 - 230 <--x 234 + 230 --- 231 + 230 --- 232 + 230 --- 233 + 230 --- 234 230 ---- 235 230 --- 250 231 --- 236 @@ -1536,10 +1536,10 @@ flowchart LR 254 <--x 259 255 <--x 260 256 <--x 261 - 257 <--x 258 - 257 <--x 259 - 257 <--x 260 - 257 <--x 261 + 257 --- 258 + 257 --- 259 + 257 --- 260 + 257 --- 261 257 ---- 262 257 --- 277 258 --- 263 @@ -1602,10 +1602,10 @@ flowchart LR 281 <--x 286 282 <--x 287 283 <--x 288 - 284 <--x 285 - 284 <--x 286 - 284 <--x 287 - 284 <--x 288 + 284 --- 285 + 284 --- 286 + 284 --- 287 + 284 --- 288 284 ---- 289 284 --- 307 285 --- 290 diff --git a/rust/kcl-lib/tests/kcl_samples/gas-impeller/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gas-impeller/artifact_graph_flowchart.snap.md index a389f4a1bc1..697eca1520b 100644 --- a/rust/kcl-lib/tests/kcl_samples/gas-impeller/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gas-impeller/artifact_graph_flowchart.snap.md @@ -315,15 +315,15 @@ flowchart LR 10 <--x 22 11 <--x 46 12 <--x 47 - 13 <--x 14 - 13 <--x 15 - 13 <--x 16 - 13 <--x 17 - 13 <--x 18 - 13 <--x 19 - 13 <--x 20 - 13 <--x 21 - 13 <--x 22 + 13 --- 14 + 13 --- 15 + 13 --- 16 + 13 --- 17 + 13 --- 18 + 13 --- 19 + 13 --- 20 + 13 --- 21 + 13 --- 22 13 ---- 23 23 <--x 14 14 --- 24 @@ -388,11 +388,11 @@ flowchart LR 31 --- 40 40 <--x 32 32 --- 41 - 42 <--x 43 - 42 <--x 44 - 42 <--x 45 - 42 <--x 46 - 42 <--x 47 + 42 --- 43 + 42 --- 44 + 42 --- 45 + 42 --- 46 + 42 --- 47 42 ---- 48 42 --- 85 48 <--x 43 @@ -443,10 +443,10 @@ flowchart LR 62 <--x 67 63 <--x 68 64 <--x 69 - 65 <--x 66 - 65 <--x 67 - 65 <--x 68 - 65 <--x 69 + 65 --- 66 + 65 --- 67 + 65 --- 68 + 65 --- 69 65 ---- 70 65 --- 85 66 --- 71 diff --git a/rust/kcl-lib/tests/kcl_samples/gdt-tutorial/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gdt-tutorial/artifact_graph_flowchart.snap.md index 98c74b9c1f1..eeb8b0b37da 100644 --- a/rust/kcl-lib/tests/kcl_samples/gdt-tutorial/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gdt-tutorial/artifact_graph_flowchart.snap.md @@ -107,10 +107,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md index e0e6b68f3ec..4041cc9826f 100644 --- a/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/artifact_graph_flowchart.snap.md @@ -235,10 +235,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 @@ -307,14 +307,14 @@ flowchart LR 34 <--x 43 35 <--x 44 36 <--x 45 - 37 <--x 38 - 37 <--x 39 - 37 <--x 40 - 37 <--x 41 - 37 <--x 42 - 37 <--x 43 - 37 <--x 44 - 37 <--x 45 + 37 --- 38 + 37 --- 39 + 37 --- 40 + 37 --- 41 + 37 --- 42 + 37 --- 43 + 37 --- 44 + 37 --- 45 37 ---- 46 37 --- 73 38 --- 47 diff --git a/rust/kcl-lib/tests/kcl_samples/gingerbread-man-cookie-cutter/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gingerbread-man-cookie-cutter/artifact_graph_flowchart.snap.md index e7926734934..3aefce9fbd6 100644 --- a/rust/kcl-lib/tests/kcl_samples/gingerbread-man-cookie-cutter/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gingerbread-man-cookie-cutter/artifact_graph_flowchart.snap.md @@ -245,26 +245,26 @@ flowchart LR 20 <--x 41 21 <--x 42 22 <--x 43 - 23 <--x 24 - 23 <--x 25 - 23 <--x 26 - 23 <--x 27 - 23 <--x 28 - 23 <--x 29 - 23 <--x 30 - 23 <--x 31 - 23 <--x 32 - 23 <--x 33 - 23 <--x 34 - 23 <--x 35 - 23 <--x 36 - 23 <--x 37 - 23 <--x 38 - 23 <--x 39 - 23 <--x 40 - 23 <--x 41 - 23 <--x 42 - 23 <--x 43 + 23 --- 24 + 23 --- 25 + 23 --- 26 + 23 --- 27 + 23 --- 28 + 23 --- 29 + 23 --- 30 + 23 --- 31 + 23 --- 32 + 23 --- 33 + 23 --- 34 + 23 --- 35 + 23 --- 36 + 23 --- 37 + 23 --- 38 + 23 --- 39 + 23 --- 40 + 23 --- 41 + 23 --- 42 + 23 --- 43 23 ---- 44 24 --- 61 24 x--> 65 diff --git a/rust/kcl-lib/tests/kcl_samples/gingerbread-man/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gingerbread-man/artifact_graph_flowchart.snap.md index dd26baf552c..6d341470376 100644 --- a/rust/kcl-lib/tests/kcl_samples/gingerbread-man/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gingerbread-man/artifact_graph_flowchart.snap.md @@ -817,26 +817,26 @@ flowchart LR 20 <--x 41 21 <--x 42 22 <--x 43 - 23 <--x 24 - 23 <--x 25 - 23 <--x 26 - 23 <--x 27 - 23 <--x 28 - 23 <--x 29 - 23 <--x 30 - 23 <--x 31 - 23 <--x 32 - 23 <--x 33 - 23 <--x 34 - 23 <--x 35 - 23 <--x 36 - 23 <--x 37 - 23 <--x 38 - 23 <--x 39 - 23 <--x 40 - 23 <--x 41 - 23 <--x 42 - 23 <--x 43 + 23 --- 24 + 23 --- 25 + 23 --- 26 + 23 --- 27 + 23 --- 28 + 23 --- 29 + 23 --- 30 + 23 --- 31 + 23 --- 32 + 23 --- 33 + 23 --- 34 + 23 --- 35 + 23 --- 36 + 23 --- 37 + 23 --- 38 + 23 --- 39 + 23 --- 40 + 23 --- 41 + 23 --- 42 + 23 --- 43 23 ---- 44 24 --- 61 24 x--> 65 @@ -1091,10 +1091,10 @@ flowchart LR 110 <--x 115 111 <--x 116 112 <--x 117 - 113 <--x 114 - 113 <--x 115 - 113 <--x 116 - 113 <--x 117 + 113 --- 114 + 113 --- 115 + 113 --- 116 + 113 --- 117 113 ---- 118 113 --- 158 114 --- 119 @@ -1153,10 +1153,10 @@ flowchart LR 135 <--x 140 136 <--x 141 137 <--x 142 - 138 <--x 139 - 138 <--x 140 - 138 <--x 141 - 138 <--x 142 + 138 --- 139 + 138 --- 140 + 138 --- 141 + 138 --- 142 138 ---- 143 138 --- 158 139 --- 144 @@ -1209,7 +1209,7 @@ flowchart LR 159 <--x 161 361 --- 159 160 <--x 162 - 161 <--x 162 + 161 --- 162 161 ---- 163 161 --- 169 162 --- 164 @@ -1229,7 +1229,7 @@ flowchart LR 170 <--x 172 370 --- 170 171 <--x 173 - 172 <--x 173 + 172 --- 173 172 ---- 174 172 --- 180 173 --- 175 @@ -1255,10 +1255,10 @@ flowchart LR 183 <--x 188 184 <--x 189 185 <--x 190 - 186 <--x 187 - 186 <--x 188 - 186 <--x 189 - 186 <--x 190 + 186 --- 187 + 186 --- 188 + 186 --- 189 + 186 --- 190 186 ---- 191 186 --- 206 187 --- 192 @@ -1330,16 +1330,16 @@ flowchart LR 215 <--x 226 216 <--x 227 217 <--x 228 - 218 <--x 219 - 218 <--x 220 - 218 <--x 221 - 218 <--x 222 - 218 <--x 223 - 218 <--x 224 - 218 <--x 225 - 218 <--x 226 - 218 <--x 227 - 218 <--x 228 + 218 --- 219 + 218 --- 220 + 218 --- 221 + 218 --- 222 + 218 --- 223 + 218 --- 224 + 218 --- 225 + 218 --- 226 + 218 --- 227 + 218 --- 228 218 ---- 229 219 --- 230 219 x--> 240 @@ -1467,12 +1467,12 @@ flowchart LR 266 <--x 273 267 <--x 274 268 <--x 275 - 269 <--x 270 - 269 <--x 271 - 269 <--x 272 - 269 <--x 273 - 269 <--x 274 - 269 <--x 275 + 269 --- 270 + 269 --- 271 + 269 --- 272 + 269 --- 273 + 269 --- 274 + 269 --- 275 269 ---- 276 269 --- 297 270 --- 277 diff --git a/rust/kcl-lib/tests/kcl_samples/golf-tee/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/golf-tee/artifact_graph_flowchart.snap.md index 5a143d3ab4c..cb421504589 100644 --- a/rust/kcl-lib/tests/kcl_samples/golf-tee/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/golf-tee/artifact_graph_flowchart.snap.md @@ -94,11 +94,11 @@ flowchart LR 5 <--x 11 6 <--x 12 7 <--x 13 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 - 8 <--x 13 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 + 8 --- 13 8 ---- 14 14 <--x 10 10 --- 17 diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/artifact_graph_flowchart.snap.md index 2ce2fe0fe2a..50962b66e05 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/artifact_graph_flowchart.snap.md @@ -220,11 +220,11 @@ flowchart LR 6 <--x 37 7 <--x 13 7 <--x 38 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 - 8 <--x 13 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 + 8 --- 13 8 ---- 14 8 --- 32 8 --- 58 @@ -289,11 +289,11 @@ flowchart LR 26 <--x 21 28 <--x 21 30 <--x 21 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 - 33 <--x 38 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 + 33 --- 38 33 ---- 39 33 --- 57 33 --- 70 diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/artifact_graph_flowchart.snap.md index 513bfc5ebfe..d10231e054a 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/artifact_graph_flowchart.snap.md @@ -1021,11 +1021,11 @@ flowchart LR 6 <--x 37 7 <--x 13 7 <--x 38 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 - 8 <--x 13 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 + 8 --- 13 8 ---- 14 8 --- 32 8 --- 119 @@ -1090,11 +1090,11 @@ flowchart LR 26 <--x 21 28 <--x 21 30 <--x 21 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 - 33 <--x 38 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 + 33 --- 38 33 ---- 39 33 --- 57 33 --- 131 @@ -1180,14 +1180,14 @@ flowchart LR 65 <--x 74 66 <--x 75 67 <--x 76 - 68 <--x 69 - 68 <--x 70 - 68 <--x 71 - 68 <--x 72 - 68 <--x 73 - 68 <--x 74 - 68 <--x 75 - 68 <--x 76 + 68 --- 69 + 68 --- 70 + 68 --- 71 + 68 --- 72 + 68 --- 73 + 68 --- 74 + 68 --- 75 + 68 --- 76 68 ---- 77 68 --- 118 69 --- 84 @@ -1321,14 +1321,14 @@ flowchart LR 153 <--x 162 154 <--x 163 155 <--x 164 - 156 <--x 157 - 156 <--x 158 - 156 <--x 159 - 156 <--x 160 - 156 <--x 161 - 156 <--x 162 - 156 <--x 163 - 156 <--x 164 + 156 --- 157 + 156 --- 158 + 156 --- 159 + 156 --- 160 + 156 --- 161 + 156 --- 162 + 156 --- 163 + 156 --- 164 156 ---- 165 157 --- 166 157 x--> 174 @@ -1451,14 +1451,14 @@ flowchart LR 200 <--x 293 201 <--x 210 201 <--x 294 - 202 <--x 203 - 202 <--x 204 - 202 <--x 205 - 202 <--x 206 - 202 <--x 207 - 202 <--x 208 - 202 <--x 209 - 202 <--x 210 + 202 --- 203 + 202 --- 204 + 202 --- 205 + 202 --- 206 + 202 --- 207 + 202 --- 208 + 202 --- 209 + 202 --- 210 202 ---- 211 202 --- 284 203 --- 212 @@ -1573,14 +1573,14 @@ flowchart LR 245 <--x 254 246 <--x 255 247 <--x 256 - 248 <--x 249 - 248 <--x 250 - 248 <--x 251 - 248 <--x 252 - 248 <--x 253 - 248 <--x 254 - 248 <--x 255 - 248 <--x 256 + 248 --- 249 + 248 --- 250 + 248 --- 251 + 248 --- 252 + 248 --- 253 + 248 --- 254 + 248 --- 255 + 248 --- 256 248 ---- 257 248 --- 285 249 --- 258 @@ -1674,14 +1674,14 @@ flowchart LR 278 <--x 267 280 <--x 267 282 <--x 267 - 286 <--x 287 - 286 <--x 288 - 286 <--x 289 - 286 <--x 290 - 286 <--x 291 - 286 <--x 292 - 286 <--x 293 - 286 <--x 294 + 286 --- 287 + 286 --- 288 + 286 --- 289 + 286 --- 290 + 286 --- 291 + 286 --- 292 + 286 --- 293 + 286 --- 294 286 ---- 295 286 --- 368 287 --- 296 @@ -1796,14 +1796,14 @@ flowchart LR 329 <--x 338 330 <--x 339 331 <--x 340 - 332 <--x 333 - 332 <--x 334 - 332 <--x 335 - 332 <--x 336 - 332 <--x 337 - 332 <--x 338 - 332 <--x 339 - 332 <--x 340 + 332 --- 333 + 332 --- 334 + 332 --- 335 + 332 --- 336 + 332 --- 337 + 332 --- 338 + 332 --- 339 + 332 --- 340 332 ---- 341 332 --- 369 333 --- 342 diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md index dac7d9fe21a..247ca7676e0 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/artifact_graph_flowchart.snap.md @@ -517,11 +517,11 @@ flowchart LR 6 <--x 37 7 <--x 13 7 <--x 38 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 - 8 <--x 13 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 + 8 --- 13 8 ---- 14 8 --- 32 8 --- 119 @@ -586,11 +586,11 @@ flowchart LR 26 <--x 21 28 <--x 21 30 <--x 21 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 - 33 <--x 38 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 + 33 --- 38 33 ---- 39 33 --- 57 33 --- 131 @@ -676,14 +676,14 @@ flowchart LR 65 <--x 74 66 <--x 75 67 <--x 76 - 68 <--x 69 - 68 <--x 70 - 68 <--x 71 - 68 <--x 72 - 68 <--x 73 - 68 <--x 74 - 68 <--x 75 - 68 <--x 76 + 68 --- 69 + 68 --- 70 + 68 --- 71 + 68 --- 72 + 68 --- 73 + 68 --- 74 + 68 --- 75 + 68 --- 76 68 ---- 77 68 --- 118 69 --- 84 @@ -817,14 +817,14 @@ flowchart LR 153 <--x 162 154 <--x 163 155 <--x 164 - 156 <--x 157 - 156 <--x 158 - 156 <--x 159 - 156 <--x 160 - 156 <--x 161 - 156 <--x 162 - 156 <--x 163 - 156 <--x 164 + 156 --- 157 + 156 --- 158 + 156 --- 159 + 156 --- 160 + 156 --- 161 + 156 --- 162 + 156 --- 163 + 156 --- 164 156 ---- 165 157 --- 166 157 x--> 174 diff --git a/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md index c7e43a3d5b2..4ffb2d27d5a 100644 --- a/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/hammer/artifact_graph_flowchart.snap.md @@ -661,21 +661,21 @@ flowchart LR 15 <--x 31 16 <--x 32 17 <--x 33 - 18 <--x 19 - 18 <--x 20 - 18 <--x 21 - 18 <--x 22 - 18 <--x 23 - 18 <--x 24 - 18 <--x 25 - 18 <--x 26 - 18 <--x 27 - 18 <--x 28 - 18 <--x 29 - 18 <--x 30 - 18 <--x 31 - 18 <--x 32 - 18 <--x 33 + 18 --- 19 + 18 --- 20 + 18 --- 21 + 18 --- 22 + 18 --- 23 + 18 --- 24 + 18 --- 25 + 18 --- 26 + 18 --- 27 + 18 --- 28 + 18 --- 29 + 18 --- 30 + 18 --- 31 + 18 --- 32 + 18 --- 33 18 ---- 34 18 --- 193 19 --- 35 @@ -871,13 +871,13 @@ flowchart LR 88 <--x 96 89 <--x 97 90 <--x 98 - 91 <--x 92 - 91 <--x 93 - 91 <--x 94 - 91 <--x 95 - 91 <--x 96 - 91 <--x 97 - 91 <--x 98 + 91 --- 92 + 91 --- 93 + 91 --- 94 + 91 --- 95 + 91 --- 96 + 91 --- 97 + 91 --- 98 91 ---- 99 91 --- 193 92 --- 100 @@ -971,11 +971,11 @@ flowchart LR 126 <--x 132 127 <--x 133 128 <--x 134 - 129 <--x 130 - 129 <--x 131 - 129 <--x 132 - 129 <--x 133 - 129 <--x 134 + 129 --- 130 + 129 --- 131 + 129 --- 132 + 129 --- 133 + 129 --- 134 129 ---- 135 129 --- 193 130 --- 136 @@ -1051,13 +1051,13 @@ flowchart LR 158 <--x 166 159 <--x 167 160 <--x 168 - 161 <--x 162 - 161 <--x 163 - 161 <--x 164 - 161 <--x 165 - 161 <--x 166 - 161 <--x 167 - 161 <--x 168 + 161 --- 162 + 161 --- 163 + 161 --- 164 + 161 --- 165 + 161 --- 166 + 161 --- 167 + 161 --- 168 161 ---- 169 161 --- 193 162 --- 170 @@ -1165,16 +1165,16 @@ flowchart LR 203 <--x 214 204 <--x 215 205 <--x 216 - 206 <--x 207 - 206 <--x 208 - 206 <--x 209 - 206 <--x 210 - 206 <--x 211 - 206 <--x 212 - 206 <--x 213 - 206 <--x 214 - 206 <--x 215 - 206 <--x 216 + 206 --- 207 + 206 --- 208 + 206 --- 209 + 206 --- 210 + 206 --- 211 + 206 --- 212 + 206 --- 213 + 206 --- 214 + 206 --- 215 + 206 --- 216 206 ---- 217 206 --- 262 207 --- 218 @@ -1296,7 +1296,7 @@ flowchart LR 251 <--x 253 339 --- 251 252 <--x 254 - 253 <--x 254 + 253 --- 254 253 ---- 255 253 --- 261 254 --- 256 @@ -1329,12 +1329,12 @@ flowchart LR 268 <--x 275 269 <--x 276 270 <--x 277 - 271 <--x 272 - 271 <--x 273 - 271 <--x 274 - 271 <--x 275 - 271 <--x 276 - 271 <--x 277 + 271 --- 272 + 271 --- 273 + 271 --- 274 + 271 --- 275 + 271 --- 276 + 271 --- 277 271 ---- 278 278 <--x 272 272 --- 279 diff --git a/rust/kcl-lib/tests/kcl_samples/helium-tank/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/helium-tank/artifact_graph_flowchart.snap.md index 50f7fce7ef8..42682d5881f 100644 --- a/rust/kcl-lib/tests/kcl_samples/helium-tank/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/helium-tank/artifact_graph_flowchart.snap.md @@ -671,24 +671,24 @@ flowchart LR 18 <--x 37 19 <--x 38 20 <--x 39 - 21 <--x 22 - 21 <--x 23 - 21 <--x 24 - 21 <--x 25 - 21 <--x 26 - 21 <--x 27 - 21 <--x 28 - 21 <--x 29 - 21 <--x 30 - 21 <--x 31 - 21 <--x 32 - 21 <--x 33 - 21 <--x 34 - 21 <--x 35 - 21 <--x 36 - 21 <--x 37 - 21 <--x 38 - 21 <--x 39 + 21 --- 22 + 21 --- 23 + 21 --- 24 + 21 --- 25 + 21 --- 26 + 21 --- 27 + 21 --- 28 + 21 --- 29 + 21 --- 30 + 21 --- 31 + 21 --- 32 + 21 --- 33 + 21 --- 34 + 21 --- 35 + 21 --- 36 + 21 --- 37 + 21 --- 38 + 21 --- 39 21 ---- 40 23 --- 48 23 x--> 58 @@ -885,7 +885,7 @@ flowchart LR 93 <--x 95 279 --- 93 94 <--x 96 - 95 <--x 96 + 95 --- 96 95 ---- 97 96 --- 98 96 x--> 99 @@ -908,7 +908,7 @@ flowchart LR 105 <--x 108 282 --- 105 107 <--x 109 - 108 <--x 109 + 108 --- 109 108 ---- 110 109 --- 111 109 x--> 112 @@ -972,17 +972,17 @@ flowchart LR 126 <--x 149 127 <--x 150 128 <--x 151 - 140 <--x 141 - 140 <--x 142 - 140 <--x 143 - 140 <--x 144 - 140 <--x 145 - 140 <--x 146 - 140 <--x 147 - 140 <--x 148 - 140 <--x 149 - 140 <--x 150 - 140 <--x 151 + 140 --- 141 + 140 --- 142 + 140 --- 143 + 140 --- 144 + 140 --- 145 + 140 --- 146 + 140 --- 147 + 140 --- 148 + 140 --- 149 + 140 --- 150 + 140 --- 151 140 ---- 152 140 --- 209 141 --- 153 @@ -1112,7 +1112,7 @@ flowchart LR 188 <--x 190 322 --- 188 189 <--x 191 - 190 <--x 191 + 190 --- 191 190 ---- 192 190 --- 208 191 --- 193 @@ -1131,7 +1131,7 @@ flowchart LR 198 <--x 200 324 --- 198 199 <--x 201 - 200 <--x 201 + 200 --- 201 200 ---- 202 200 --- 208 201 --- 203 @@ -1155,7 +1155,7 @@ flowchart LR 211 <--x 213 326 --- 211 212 <--x 214 - 213 <--x 214 + 213 --- 214 213 ---- 215 213 --- 221 213 --- 222 @@ -1177,7 +1177,7 @@ flowchart LR 223 <--x 225 328 --- 223 224 <--x 226 - 225 <--x 226 + 225 --- 226 225 ---- 227 225 --- 243 226 --- 228 @@ -1196,7 +1196,7 @@ flowchart LR 233 <--x 235 330 --- 233 234 <--x 236 - 235 <--x 236 + 235 --- 236 235 ---- 237 235 --- 243 236 --- 238 diff --git a/rust/kcl-lib/tests/kcl_samples/hex-nut-with-chamfer/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/hex-nut-with-chamfer/artifact_graph_flowchart.snap.md index e2132b896d0..6798625f12a 100644 --- a/rust/kcl-lib/tests/kcl_samples/hex-nut-with-chamfer/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/hex-nut-with-chamfer/artifact_graph_flowchart.snap.md @@ -162,12 +162,12 @@ flowchart LR 6 <--x 14 7 <--x 15 8 <--x 16 - 10 <--x 11 - 10 <--x 12 - 10 <--x 13 - 10 <--x 14 - 10 <--x 15 - 10 <--x 16 + 10 --- 11 + 10 --- 12 + 10 --- 13 + 10 --- 14 + 10 --- 15 + 10 --- 16 10 ---- 17 10 --- 51 11 --- 18 @@ -245,7 +245,7 @@ flowchart LR 39 <--x 41 73 --- 39 40 <--x 42 - 41 <--x 42 + 41 --- 42 41 ---- 43 41 --- 51 42 --- 44 diff --git a/rust/kcl-lib/tests/kcl_samples/hex-nut/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/hex-nut/artifact_graph_flowchart.snap.md index 1e9d7fb221e..13ae9941c51 100644 --- a/rust/kcl-lib/tests/kcl_samples/hex-nut/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/hex-nut/artifact_graph_flowchart.snap.md @@ -126,12 +126,12 @@ flowchart LR 6 <--x 14 7 <--x 15 8 <--x 16 - 10 <--x 11 - 10 <--x 12 - 10 <--x 13 - 10 <--x 14 - 10 <--x 15 - 10 <--x 16 + 10 --- 11 + 10 --- 12 + 10 --- 13 + 10 --- 14 + 10 --- 15 + 10 --- 16 10 ---- 17 11 --- 18 11 x--> 24 diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md index 5cf941b2dfc..967632b7fd8 100644 --- a/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/i-beam/artifact_graph_flowchart.snap.md @@ -337,22 +337,22 @@ flowchart LR 16 <--x 33 17 <--x 34 18 <--x 35 - 19 <--x 20 - 19 <--x 21 - 19 <--x 22 - 19 <--x 23 - 19 <--x 24 - 19 <--x 25 - 19 <--x 26 - 19 <--x 27 - 19 <--x 28 - 19 <--x 29 - 19 <--x 30 - 19 <--x 31 - 19 <--x 32 - 19 <--x 33 - 19 <--x 34 - 19 <--x 35 + 19 --- 20 + 19 --- 21 + 19 --- 22 + 19 --- 23 + 19 --- 24 + 19 --- 25 + 19 --- 26 + 19 --- 27 + 19 --- 28 + 19 --- 29 + 19 --- 30 + 19 --- 31 + 19 --- 32 + 19 --- 33 + 19 --- 34 + 19 --- 35 19 ---- 36 20 --- 37 20 x--> 53 diff --git a/rust/kcl-lib/tests/kcl_samples/inner-thread/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/inner-thread/artifact_graph_flowchart.snap.md index 0a52277eb97..a1c2afbe2e9 100644 --- a/rust/kcl-lib/tests/kcl_samples/inner-thread/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/inner-thread/artifact_graph_flowchart.snap.md @@ -149,7 +149,7 @@ flowchart LR 2 <--x 4 51 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 4 --- 50 5 --- 7 @@ -171,7 +171,7 @@ flowchart LR 13 <--x 15 55 --- 13 14 <--x 16 - 15 <--x 16 + 15 --- 16 15 ---- 17 15 <--x 29 15 --- 50 @@ -201,10 +201,10 @@ flowchart LR 27 <--x 33 28 <--x 34 29 --- 35 - 30 <--x 31 - 30 <--x 32 - 30 <--x 33 - 30 <--x 34 + 30 --- 31 + 30 --- 32 + 30 --- 33 + 30 --- 34 30 ---- 35 30 --- 50 31 --- 36 diff --git a/rust/kcl-lib/tests/kcl_samples/lattice-cubic/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/lattice-cubic/artifact_graph_flowchart.snap.md index 177e034e7d5..638b71c6f7e 100644 --- a/rust/kcl-lib/tests/kcl_samples/lattice-cubic/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/lattice-cubic/artifact_graph_flowchart.snap.md @@ -155,8 +155,8 @@ flowchart LR 60 --- 2 3 <--x 6 4 <--x 7 - 5 <--x 6 - 5 <--x 7 + 5 --- 6 + 5 --- 7 5 ---- 8 5 --- 10 5 --- 11 @@ -180,7 +180,7 @@ flowchart LR 25 <--x 27 25 <--x 39 25 <--x 50 - 26 <--x 27 + 26 --- 27 26 ---- 28 26 --- 34 26 --- 35 @@ -214,7 +214,7 @@ flowchart LR 29 --- 32 29 --- 33 32 <--x 30 - 38 <--x 39 + 38 --- 39 38 --- 45 38 --- 46 39 --- 40 @@ -224,7 +224,7 @@ flowchart LR 40 --- 43 40 --- 44 43 <--x 41 - 49 <--x 50 + 49 --- 50 49 --- 56 49 --- 57 50 --- 51 diff --git a/rust/kcl-lib/tests/kcl_samples/lego/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/lego/artifact_graph_flowchart.snap.md index c6ab50d7728..bca2d08ea55 100644 --- a/rust/kcl-lib/tests/kcl_samples/lego/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/lego/artifact_graph_flowchart.snap.md @@ -205,10 +205,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 @@ -278,10 +278,10 @@ flowchart LR 29 <--x 34 30 <--x 35 31 <--x 36 - 32 <--x 33 - 32 <--x 34 - 32 <--x 35 - 32 <--x 36 + 32 --- 33 + 32 --- 34 + 32 --- 35 + 32 --- 36 32 ---- 37 33 --- 38 33 --- 43 @@ -332,7 +332,7 @@ flowchart LR 51 <--x 53 86 --- 51 52 <--x 54 - 53 <--x 54 + 53 --- 54 53 ---- 55 53 --- 61 53 --- 62 @@ -354,7 +354,7 @@ flowchart LR 64 <--x 66 93 --- 64 65 <--x 67 - 66 <--x 67 + 66 --- 67 66 ---- 68 66 --- 74 66 --- 75 diff --git a/rust/kcl-lib/tests/kcl_samples/linear-shelf-system/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/linear-shelf-system/artifact_graph_flowchart.snap.md index 6b5daea38cc..ad16d1769cb 100644 --- a/rust/kcl-lib/tests/kcl_samples/linear-shelf-system/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/linear-shelf-system/artifact_graph_flowchart.snap.md @@ -269,10 +269,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 27 7 --- 81 @@ -337,10 +337,10 @@ flowchart LR 31 <--x 36 32 <--x 37 33 <--x 38 - 34 <--x 35 - 34 <--x 36 - 34 <--x 37 - 34 <--x 38 + 34 --- 35 + 34 --- 36 + 34 --- 37 + 34 --- 38 34 ---- 39 34 --- 83 35 --- 40 @@ -403,10 +403,10 @@ flowchart LR 57 <--x 62 58 <--x 63 59 <--x 64 - 60 <--x 61 - 60 <--x 62 - 60 <--x 63 - 60 <--x 64 + 60 --- 61 + 60 --- 62 + 60 --- 63 + 60 --- 64 60 ---- 65 60 --- 80 60 --- 84 diff --git a/rust/kcl-lib/tests/kcl_samples/liquid-impeller/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/liquid-impeller/artifact_graph_flowchart.snap.md index a1423b1dd5a..d8cd0d27d7d 100644 --- a/rust/kcl-lib/tests/kcl_samples/liquid-impeller/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/liquid-impeller/artifact_graph_flowchart.snap.md @@ -251,10 +251,10 @@ flowchart LR 3 <--x 10 4 <--x 11 7 <--x 12 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 8 ---- 13 8 --- 57 9 --- 14 @@ -322,13 +322,13 @@ flowchart LR 34 <--x 42 35 <--x 43 36 <--x 44 - 37 <--x 38 - 37 <--x 39 - 37 <--x 40 - 37 <--x 41 - 37 <--x 42 - 37 <--x 43 - 37 <--x 44 + 37 --- 38 + 37 --- 39 + 37 --- 40 + 37 --- 41 + 37 --- 42 + 37 --- 43 + 37 --- 44 37 ---- 45 37 --- 57 45 <--x 39 @@ -385,10 +385,10 @@ flowchart LR 61 <--x 66 62 <--x 67 63 <--x 68 - 64 <--x 65 - 64 <--x 66 - 64 <--x 67 - 64 <--x 68 + 64 --- 65 + 64 --- 66 + 64 --- 67 + 64 --- 68 64 ---- 69 64 --- 84 65 --- 70 diff --git a/rust/kcl-lib/tests/kcl_samples/m4-hex-socket-countersunk-head-screw/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/m4-hex-socket-countersunk-head-screw/artifact_graph_flowchart.snap.md index 39eb1a2a43d..68f8f1733da 100644 --- a/rust/kcl-lib/tests/kcl_samples/m4-hex-socket-countersunk-head-screw/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/m4-hex-socket-countersunk-head-screw/artifact_graph_flowchart.snap.md @@ -211,11 +211,11 @@ flowchart LR 13 <--x 34 14 <--x 35 15 <--x 36 - 16 <--x 17 - 16 <--x 18 - 16 <--x 19 - 16 <--x 20 - 16 <--x 21 + 16 --- 17 + 16 --- 18 + 16 --- 19 + 16 --- 20 + 16 --- 21 16 ---- 22 16 --- 58 22 <--x 18 @@ -242,12 +242,12 @@ flowchart LR 28 <--x 25 25 --- 29 29 <--x 26 - 30 <--x 31 - 30 <--x 32 - 30 <--x 33 - 30 <--x 34 - 30 <--x 35 - 30 <--x 36 + 30 --- 31 + 30 --- 32 + 30 --- 33 + 30 --- 34 + 30 --- 35 + 30 --- 36 30 ---- 37 30 --- 58 31 --- 38 diff --git a/rust/kcl-lib/tests/kcl_samples/m4-insert/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/m4-insert/artifact_graph_flowchart.snap.md index 39101dfcc81..8c9be68ccaa 100644 --- a/rust/kcl-lib/tests/kcl_samples/m4-insert/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/m4-insert/artifact_graph_flowchart.snap.md @@ -203,18 +203,18 @@ flowchart LR 12 <--x 25 13 <--x 26 14 <--x 27 - 15 <--x 16 - 15 <--x 17 - 15 <--x 18 - 15 <--x 19 - 15 <--x 20 - 15 <--x 21 - 15 <--x 22 - 15 <--x 23 - 15 <--x 24 - 15 <--x 25 - 15 <--x 26 - 15 <--x 27 + 15 --- 16 + 15 --- 17 + 15 --- 18 + 15 --- 19 + 15 --- 20 + 15 --- 21 + 15 --- 22 + 15 --- 23 + 15 --- 24 + 15 --- 25 + 15 --- 26 + 15 --- 27 15 ---- 28 28 <--x 16 16 --- 29 diff --git a/rust/kcl-lib/tests/kcl_samples/modular-shelf-grid/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/modular-shelf-grid/artifact_graph_flowchart.snap.md index acf964f4dd9..9c56bd16c3e 100644 --- a/rust/kcl-lib/tests/kcl_samples/modular-shelf-grid/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/modular-shelf-grid/artifact_graph_flowchart.snap.md @@ -221,10 +221,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 27 7 --- 55 @@ -291,10 +291,10 @@ flowchart LR 31 <--x 36 32 <--x 37 33 <--x 38 - 34 <--x 35 - 34 <--x 36 - 34 <--x 37 - 34 <--x 38 + 34 --- 35 + 34 --- 36 + 34 --- 37 + 34 --- 38 34 ---- 39 34 --- 54 34 --- 57 diff --git a/rust/kcl-lib/tests/kcl_samples/multi-axis-robot/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/multi-axis-robot/artifact_graph_flowchart.snap.md index 22e49446d5c..1907e54abe3 100644 --- a/rust/kcl-lib/tests/kcl_samples/multi-axis-robot/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/multi-axis-robot/artifact_graph_flowchart.snap.md @@ -859,10 +859,10 @@ flowchart LR 12 <--x 17 13 <--x 18 14 <--x 19 - 15 <--x 16 - 15 <--x 17 - 15 <--x 18 - 15 <--x 19 + 15 --- 16 + 15 --- 17 + 15 --- 18 + 15 --- 19 15 ---- 20 16 --- 21 16 x--> 25 @@ -923,7 +923,7 @@ flowchart LR 35 <--x 37 366 --- 35 36 <--x 38 - 37 <--x 38 + 37 --- 38 37 ---- 39 38 --- 40 38 --- 42 @@ -944,7 +944,7 @@ flowchart LR 44 <--x 46 368 --- 44 45 <--x 47 - 46 <--x 47 + 46 --- 47 46 ---- 48 47 --- 49 47 --- 51 @@ -963,7 +963,7 @@ flowchart LR 58 <--x 60 369 --- 58 59 <--x 61 - 60 <--x 61 + 60 --- 61 60 ---- 62 61 --- 118 61 x--> 120 @@ -990,10 +990,10 @@ flowchart LR 71 <--x 76 72 <--x 77 73 <--x 78 - 74 <--x 75 - 74 <--x 76 - 74 <--x 77 - 74 <--x 78 + 74 --- 75 + 74 --- 76 + 74 --- 77 + 74 --- 78 74 ---- 79 75 --- 80 75 x--> 84 @@ -1049,7 +1049,7 @@ flowchart LR 94 <--x 96 377 --- 94 95 <--x 97 - 96 <--x 97 + 96 --- 97 96 ---- 98 97 --- 63 97 x--> 64 @@ -1070,7 +1070,7 @@ flowchart LR 103 <--x 105 380 --- 103 104 <--x 106 - 105 <--x 106 + 105 --- 106 105 ---- 107 106 --- 99 106 --- 101 @@ -1089,7 +1089,7 @@ flowchart LR 113 <--x 115 383 --- 113 114 <--x 116 - 115 <--x 116 + 115 --- 116 115 ---- 117 116 --- 108 116 --- 110 @@ -1115,10 +1115,10 @@ flowchart LR 126 <--x 131 127 <--x 132 128 <--x 133 - 129 <--x 130 - 129 <--x 131 - 129 <--x 132 - 129 <--x 133 + 129 --- 130 + 129 --- 131 + 129 --- 132 + 129 --- 133 129 ---- 134 130 --- 135 130 x--> 140 @@ -1185,7 +1185,7 @@ flowchart LR 149 <--x 151 391 --- 149 150 <--x 152 - 151 <--x 152 + 151 --- 152 151 ---- 153 152 --- 154 152 --- 156 @@ -1201,7 +1201,7 @@ flowchart LR 158 <--x 160 393 --- 158 159 <--x 161 - 160 <--x 161 + 160 --- 161 160 ---- 162 161 --- 163 161 --- 165 @@ -1217,7 +1217,7 @@ flowchart LR 167 <--x 169 395 --- 167 168 <--x 170 - 169 <--x 170 + 169 --- 170 169 ---- 171 170 --- 172 170 --- 174 @@ -1242,10 +1242,10 @@ flowchart LR 179 <--x 184 180 <--x 185 181 <--x 186 - 182 <--x 183 - 182 <--x 184 - 182 <--x 185 - 182 <--x 186 + 182 --- 183 + 182 --- 184 + 182 --- 185 + 182 --- 186 182 ---- 187 183 --- 258 183 x--> 266 @@ -1310,7 +1310,7 @@ flowchart LR 202 <--x 204 402 --- 202 203 <--x 205 - 204 <--x 205 + 204 --- 205 204 ---- 206 205 --- 262 205 x--> 266 @@ -1327,7 +1327,7 @@ flowchart LR 211 <--x 213 404 --- 211 212 <--x 214 - 213 <--x 214 + 213 --- 214 213 ---- 215 214 --- 263 214 x--> 266 @@ -1345,7 +1345,7 @@ flowchart LR 221 <--x 223 406 --- 221 222 <--x 224 - 223 <--x 224 + 223 --- 224 223 ---- 225 224 --- 264 224 x--> 266 @@ -1367,7 +1367,7 @@ flowchart LR 231 <--x 233 408 --- 231 232 <--x 234 - 233 <--x 234 + 233 --- 234 233 ---- 235 234 --- 298 234 x--> 306 @@ -1405,13 +1405,13 @@ flowchart LR 246 <--x 254 247 <--x 255 248 <--x 256 - 249 <--x 250 - 249 <--x 251 - 249 <--x 252 - 249 <--x 253 - 249 <--x 254 - 249 <--x 255 - 249 <--x 256 + 249 --- 250 + 249 --- 251 + 249 --- 252 + 249 --- 253 + 249 --- 254 + 249 --- 255 + 249 --- 256 249 ---- 257 250 --- 299 250 x--> 306 @@ -1508,13 +1508,13 @@ flowchart LR 286 <--x 294 287 <--x 295 288 <--x 296 - 289 <--x 290 - 289 <--x 291 - 289 <--x 292 - 289 <--x 293 - 289 <--x 294 - 289 <--x 295 - 289 <--x 296 + 289 --- 290 + 289 --- 291 + 289 --- 292 + 289 --- 293 + 289 --- 294 + 289 --- 295 + 289 --- 296 289 ---- 297 290 --- 226 290 x--> 228 diff --git a/rust/kcl-lib/tests/kcl_samples/parametric-shelf-unit/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/parametric-shelf-unit/artifact_graph_flowchart.snap.md index 0836be51f5c..c6b17df5990 100644 --- a/rust/kcl-lib/tests/kcl_samples/parametric-shelf-unit/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/parametric-shelf-unit/artifact_graph_flowchart.snap.md @@ -221,10 +221,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 27 8 --- 13 @@ -287,10 +287,10 @@ flowchart LR 31 <--x 36 32 <--x 37 33 <--x 38 - 34 <--x 35 - 34 <--x 36 - 34 <--x 37 - 34 <--x 38 + 34 --- 35 + 34 --- 36 + 34 --- 37 + 34 --- 38 34 ---- 39 35 --- 40 35 x--> 44 @@ -352,10 +352,10 @@ flowchart LR 57 <--x 62 58 <--x 63 59 <--x 64 - 60 <--x 61 - 60 <--x 62 - 60 <--x 63 - 60 <--x 64 + 60 --- 61 + 60 --- 62 + 60 --- 63 + 60 --- 64 60 ---- 65 60 --- 80 61 --- 66 diff --git a/rust/kcl-lib/tests/kcl_samples/pipe-elbow-90deg/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/pipe-elbow-90deg/artifact_graph_flowchart.snap.md index 61240b2e739..bf9077424fe 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe-elbow-90deg/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/pipe-elbow-90deg/artifact_graph_flowchart.snap.md @@ -152,7 +152,7 @@ flowchart LR 2 <--x 5 45 --- 2 3 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 6 --- 8 6 x--> 10 @@ -175,7 +175,7 @@ flowchart LR 53 --- 14 15 <--x 18 15 <--x 39 - 17 <--x 18 + 17 --- 18 17 ---- 19 17 --- 37 17 <--x 38 @@ -207,7 +207,7 @@ flowchart LR 61 --- 26 27 <--x 29 27 <--x 43 - 28 <--x 29 + 28 --- 29 28 ---- 30 28 --- 36 28 --- 37 diff --git a/rust/kcl-lib/tests/kcl_samples/pipe-straight/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/pipe-straight/artifact_graph_flowchart.snap.md index 8e651c0c05a..6bc76b37498 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe-straight/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/pipe-straight/artifact_graph_flowchart.snap.md @@ -134,7 +134,7 @@ flowchart LR 2 <--x 5 45 --- 2 3 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 6 --- 8 6 x--> 9 @@ -157,7 +157,7 @@ flowchart LR 50 --- 14 15 <--x 18 15 <--x 39 - 17 <--x 18 + 17 --- 18 17 ---- 19 17 --- 37 17 <--x 38 @@ -189,7 +189,7 @@ flowchart LR 55 --- 26 27 <--x 29 27 <--x 43 - 28 <--x 29 + 28 --- 29 28 ---- 30 28 --- 36 28 --- 37 diff --git a/rust/kcl-lib/tests/kcl_samples/pipe/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/pipe/artifact_graph_flowchart.snap.md index 7f43530686e..8e4ca36824b 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/pipe/artifact_graph_flowchart.snap.md @@ -44,7 +44,7 @@ flowchart LR 2 <--x 5 13 --- 2 3 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 6 --- 8 6 x--> 10 diff --git a/rust/kcl-lib/tests/kcl_samples/rack-blanking-panel/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/rack-blanking-panel/artifact_graph_flowchart.snap.md index 5335cedc9b6..8b837b97fda 100644 --- a/rust/kcl-lib/tests/kcl_samples/rack-blanking-panel/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/rack-blanking-panel/artifact_graph_flowchart.snap.md @@ -321,18 +321,18 @@ flowchart LR 12 <--x 25 13 <--x 26 14 <--x 27 - 15 <--x 16 - 15 <--x 17 - 15 <--x 18 - 15 <--x 19 - 15 <--x 20 - 15 <--x 21 - 15 <--x 22 - 15 <--x 23 - 15 <--x 24 - 15 <--x 25 - 15 <--x 26 - 15 <--x 27 + 15 --- 16 + 15 --- 17 + 15 --- 18 + 15 --- 19 + 15 --- 20 + 15 --- 21 + 15 --- 22 + 15 --- 23 + 15 --- 24 + 15 --- 25 + 15 --- 26 + 15 --- 27 15 ---- 28 15 --- 89 16 --- 29 @@ -480,7 +480,7 @@ flowchart LR 140 --- 68 69 <--x 74 70 <--x 72 - 71 <--x 72 + 71 --- 72 71 ---- 75 71 --- 87 71 --- 89 @@ -488,7 +488,7 @@ flowchart LR 72 x--> 77 72 --- 79 72 --- 80 - 73 <--x 74 + 73 --- 74 73 ---- 81 73 --- 88 73 --- 89 diff --git a/rust/kcl-lib/tests/kcl_samples/radial-flow-centrifugal-impeller/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/radial-flow-centrifugal-impeller/artifact_graph_flowchart.snap.md index cb4d200930f..a28b70e5ed0 100644 --- a/rust/kcl-lib/tests/kcl_samples/radial-flow-centrifugal-impeller/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/radial-flow-centrifugal-impeller/artifact_graph_flowchart.snap.md @@ -243,7 +243,7 @@ flowchart LR 26 <--x 28 78 --- 26 27 <--x 29 - 28 <--x 29 + 28 --- 29 28 ---- 30 28 --- 56 29 --- 31 @@ -267,7 +267,7 @@ flowchart LR 36 <--x 38 81 --- 36 37 <--x 39 - 38 <--x 39 + 38 --- 39 38 ---- 40 39 --- 41 39 --- 43 @@ -287,7 +287,7 @@ flowchart LR 46 <--x 48 84 --- 46 47 <--x 49 - 48 <--x 49 + 48 --- 49 48 ---- 50 48 --- 56 49 --- 51 diff --git a/rust/kcl-lib/tests/kcl_samples/rectangle-table/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/rectangle-table/artifact_graph_flowchart.snap.md index 1bd5823834b..03b2e5f9fb8 100644 --- a/rust/kcl-lib/tests/kcl_samples/rectangle-table/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/rectangle-table/artifact_graph_flowchart.snap.md @@ -154,10 +154,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 18 @@ -218,10 +218,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 53 33 --- 54 diff --git a/rust/kcl-lib/tests/kcl_samples/round-table/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/round-table/artifact_graph_flowchart.snap.md index 7087609e91c..3c31c085b75 100644 --- a/rust/kcl-lib/tests/kcl_samples/round-table/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/round-table/artifact_graph_flowchart.snap.md @@ -96,7 +96,7 @@ flowchart LR 2 <--x 4 35 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 5 --- 7 5 x--> 9 @@ -117,7 +117,7 @@ flowchart LR 13 <--x 15 37 --- 13 14 <--x 16 - 15 <--x 16 + 15 --- 16 15 ---- 17 16 --- 18 16 x--> 19 @@ -139,7 +139,7 @@ flowchart LR 24 <--x 26 40 --- 24 25 <--x 27 - 26 <--x 27 + 26 --- 27 26 ---- 28 27 --- 29 27 x--> 30 diff --git a/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/artifact_graph_flowchart.snap.md index 39dd11361ff..64df92987dd 100644 --- a/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/artifact_graph_flowchart.snap.md @@ -523,26 +523,26 @@ flowchart LR 20 <--x 41 21 <--x 42 22 <--x 43 - 23 <--x 24 - 23 <--x 25 - 23 <--x 26 - 23 <--x 27 - 23 <--x 28 - 23 <--x 29 - 23 <--x 30 - 23 <--x 31 - 23 <--x 32 - 23 <--x 33 - 23 <--x 34 - 23 <--x 35 - 23 <--x 36 - 23 <--x 37 - 23 <--x 38 - 23 <--x 39 - 23 <--x 40 - 23 <--x 41 - 23 <--x 42 - 23 <--x 43 + 23 --- 24 + 23 --- 25 + 23 --- 26 + 23 --- 27 + 23 --- 28 + 23 --- 29 + 23 --- 30 + 23 --- 31 + 23 --- 32 + 23 --- 33 + 23 --- 34 + 23 --- 35 + 23 --- 36 + 23 --- 37 + 23 --- 38 + 23 --- 39 + 23 --- 40 + 23 --- 41 + 23 --- 42 + 23 --- 43 23 ---- 44 24 --- 61 24 x--> 65 @@ -782,10 +782,10 @@ flowchart LR 109 <--x 114 110 <--x 115 111 <--x 116 - 112 <--x 113 - 112 <--x 114 - 112 <--x 115 - 112 <--x 116 + 112 --- 113 + 112 --- 114 + 112 --- 115 + 112 --- 116 112 ---- 117 113 --- 118 113 x--> 122 @@ -846,10 +846,10 @@ flowchart LR 134 <--x 139 135 <--x 140 136 <--x 141 - 137 <--x 138 - 137 <--x 139 - 137 <--x 140 - 137 <--x 141 + 137 --- 138 + 137 --- 139 + 137 --- 140 + 137 --- 141 137 ---- 142 138 --- 143 138 x--> 147 @@ -907,10 +907,10 @@ flowchart LR 159 <--x 164 160 <--x 165 161 <--x 166 - 162 <--x 163 - 162 <--x 164 - 162 <--x 165 - 162 <--x 166 + 162 --- 163 + 162 --- 164 + 162 --- 165 + 162 --- 166 162 ---- 167 163 --- 168 163 x--> 172 diff --git a/rust/kcl-lib/tests/kcl_samples/router-template-slate/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/router-template-slate/artifact_graph_flowchart.snap.md index d7085400908..28c28a6df05 100644 --- a/rust/kcl-lib/tests/kcl_samples/router-template-slate/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/router-template-slate/artifact_graph_flowchart.snap.md @@ -299,18 +299,18 @@ flowchart LR 12 <--x 25 13 <--x 26 14 <--x 27 - 15 <--x 16 - 15 <--x 17 - 15 <--x 18 - 15 <--x 19 - 15 <--x 20 - 15 <--x 21 - 15 <--x 22 - 15 <--x 23 - 15 <--x 24 - 15 <--x 25 - 15 <--x 26 - 15 <--x 27 + 15 --- 16 + 15 --- 17 + 15 --- 18 + 15 --- 19 + 15 --- 20 + 15 --- 21 + 15 --- 22 + 15 --- 23 + 15 --- 24 + 15 --- 25 + 15 --- 26 + 15 --- 27 15 ---- 28 16 --- 29 16 x--> 41 @@ -462,10 +462,10 @@ flowchart LR 69 <--x 74 70 <--x 75 71 <--x 76 - 72 <--x 73 - 72 <--x 74 - 72 <--x 75 - 72 <--x 76 + 72 --- 73 + 72 --- 74 + 72 --- 75 + 72 --- 76 72 ---- 77 73 --- 78 73 x--> 82 @@ -523,10 +523,10 @@ flowchart LR 94 <--x 99 95 <--x 100 96 <--x 101 - 97 <--x 98 - 97 <--x 99 - 97 <--x 100 - 97 <--x 101 + 97 --- 98 + 97 --- 99 + 97 --- 100 + 97 --- 101 97 ---- 102 98 --- 103 98 x--> 107 diff --git a/rust/kcl-lib/tests/kcl_samples/saturn-v/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/saturn-v/artifact_graph_flowchart.snap.md index 9a05cc6f37a..f223fc32f06 100644 --- a/rust/kcl-lib/tests/kcl_samples/saturn-v/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/saturn-v/artifact_graph_flowchart.snap.md @@ -1129,9 +1129,9 @@ flowchart LR 5 <--x 20 5 <--x 30 5 <--x 40 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 6 ---- 10 10 <--x 7 7 --- 11 @@ -1175,9 +1175,9 @@ flowchart LR 12 --- 15 15 <--x 13 13 --- 16 - 17 <--x 18 - 17 <--x 19 - 17 <--x 20 + 17 --- 18 + 17 --- 19 + 17 --- 20 18 --- 21 18 --- 24 19 --- 22 @@ -1190,9 +1190,9 @@ flowchart LR 22 --- 25 25 <--x 23 23 --- 26 - 27 <--x 28 - 27 <--x 29 - 27 <--x 30 + 27 --- 28 + 27 --- 29 + 27 --- 30 28 --- 31 28 --- 34 29 --- 32 @@ -1205,9 +1205,9 @@ flowchart LR 32 --- 35 35 <--x 33 33 --- 36 - 37 <--x 38 - 37 <--x 39 - 37 <--x 40 + 37 --- 38 + 37 --- 39 + 37 --- 40 38 --- 41 38 --- 44 39 --- 42 @@ -1246,9 +1246,9 @@ flowchart LR 51 <--x 66 51 <--x 76 51 <--x 86 - 52 <--x 53 - 52 <--x 54 - 52 <--x 55 + 52 --- 53 + 52 --- 54 + 52 --- 55 52 ---- 56 56 <--x 53 53 --- 57 @@ -1292,9 +1292,9 @@ flowchart LR 58 --- 61 61 <--x 59 59 --- 62 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 + 63 --- 64 + 63 --- 65 + 63 --- 66 64 --- 67 64 --- 70 65 --- 68 @@ -1307,9 +1307,9 @@ flowchart LR 68 --- 71 71 <--x 69 69 --- 72 - 73 <--x 74 - 73 <--x 75 - 73 <--x 76 + 73 --- 74 + 73 --- 75 + 73 --- 76 74 --- 77 74 --- 80 75 --- 78 @@ -1322,9 +1322,9 @@ flowchart LR 78 --- 81 81 <--x 79 79 --- 82 - 83 <--x 84 - 83 <--x 85 - 83 <--x 86 + 83 --- 84 + 83 --- 85 + 83 --- 86 84 --- 87 84 --- 90 85 --- 88 @@ -1368,10 +1368,10 @@ flowchart LR 98 <--x 123 98 <--x 142 98 <--x 161 - 99 <--x 100 - 99 <--x 101 - 99 <--x 102 - 99 <--x 103 + 99 --- 100 + 99 --- 101 + 99 --- 102 + 99 --- 103 99 ---- 104 100 --- 105 100 x--> 109 @@ -1464,10 +1464,10 @@ flowchart LR 113 <--x 110 115 <--x 110 117 <--x 110 - 119 <--x 120 - 119 <--x 121 - 119 <--x 122 - 119 <--x 123 + 119 --- 120 + 119 --- 121 + 119 --- 122 + 119 --- 123 120 --- 124 120 x--> 128 120 --- 130 @@ -1500,10 +1500,10 @@ flowchart LR 132 <--x 129 134 <--x 129 136 <--x 129 - 138 <--x 139 - 138 <--x 140 - 138 <--x 141 - 138 <--x 142 + 138 --- 139 + 138 --- 140 + 138 --- 141 + 138 --- 142 139 --- 143 139 x--> 147 139 --- 149 @@ -1536,10 +1536,10 @@ flowchart LR 151 <--x 148 153 <--x 148 155 <--x 148 - 157 <--x 158 - 157 <--x 159 - 157 <--x 160 - 157 <--x 161 + 157 --- 158 + 157 --- 159 + 157 --- 160 + 157 --- 161 158 --- 162 158 x--> 166 158 --- 168 @@ -1584,8 +1584,8 @@ flowchart LR 443 --- 177 178 <--x 181 179 <--x 182 - 180 <--x 181 - 180 <--x 182 + 180 --- 181 + 180 --- 182 180 ---- 183 181 --- 184 181 x--> 186 @@ -1617,8 +1617,8 @@ flowchart LR 450 --- 192 193 <--x 196 194 <--x 197 - 195 <--x 196 - 195 <--x 197 + 195 --- 196 + 195 --- 197 195 ---- 198 196 --- 199 196 x--> 201 @@ -1651,7 +1651,7 @@ flowchart LR 208 <--x 210 457 --- 208 209 <--x 211 - 210 <--x 211 + 210 --- 211 210 ---- 212 211 --- 213 211 x--> 214 @@ -1677,8 +1677,8 @@ flowchart LR 460 --- 219 220 <--x 223 221 <--x 224 - 222 <--x 223 - 222 <--x 224 + 222 --- 223 + 222 --- 224 222 ---- 225 223 --- 226 223 x--> 228 @@ -1710,8 +1710,8 @@ flowchart LR 467 --- 234 235 <--x 238 236 <--x 239 - 237 <--x 238 - 237 <--x 239 + 237 --- 238 + 237 --- 239 237 ---- 240 238 --- 241 238 x--> 243 @@ -1744,7 +1744,7 @@ flowchart LR 250 <--x 252 474 --- 250 251 <--x 253 - 252 <--x 253 + 252 --- 253 252 ---- 254 253 --- 255 253 x--> 256 @@ -1765,7 +1765,7 @@ flowchart LR 261 <--x 263 477 --- 261 262 <--x 264 - 263 <--x 264 + 263 --- 264 263 ---- 265 264 --- 266 264 x--> 267 @@ -1792,10 +1792,10 @@ flowchart LR 274 <--x 279 275 <--x 280 276 <--x 281 - 277 <--x 278 - 277 <--x 279 - 277 <--x 280 - 277 <--x 281 + 277 --- 278 + 277 --- 279 + 277 --- 280 + 277 --- 281 277 ---- 282 279 --- 285 279 x--> 286 @@ -1838,10 +1838,10 @@ flowchart LR 295 <--x 300 296 <--x 301 297 <--x 302 - 298 <--x 299 - 298 <--x 300 - 298 <--x 301 - 298 <--x 302 + 298 --- 299 + 298 --- 300 + 298 --- 301 + 298 --- 302 298 ---- 303 300 --- 306 300 x--> 308 @@ -1884,10 +1884,10 @@ flowchart LR 316 <--x 321 317 <--x 322 318 <--x 323 - 319 <--x 320 - 319 <--x 321 - 319 <--x 322 - 319 <--x 323 + 319 --- 320 + 319 --- 321 + 319 --- 322 + 319 --- 323 319 ---- 324 321 --- 327 321 x--> 328 @@ -1930,10 +1930,10 @@ flowchart LR 337 <--x 342 338 <--x 343 339 <--x 344 - 340 <--x 341 - 340 <--x 342 - 340 <--x 343 - 340 <--x 344 + 340 --- 341 + 340 --- 342 + 340 --- 343 + 340 --- 344 340 ---- 345 342 --- 348 342 x--> 350 @@ -1970,7 +1970,7 @@ flowchart LR 356 <--x 358 532 --- 356 357 <--x 359 - 358 <--x 359 + 358 --- 359 358 ---- 360 359 --- 361 359 x--> 362 @@ -1991,7 +1991,7 @@ flowchart LR 367 <--x 369 535 --- 367 368 <--x 370 - 369 <--x 370 + 369 --- 370 369 ---- 371 370 --- 372 370 x--> 373 @@ -2024,13 +2024,13 @@ flowchart LR 383 <--x 391 384 <--x 392 385 <--x 393 - 386 <--x 387 - 386 <--x 388 - 386 <--x 389 - 386 <--x 390 - 386 <--x 391 - 386 <--x 392 - 386 <--x 393 + 386 --- 387 + 386 --- 388 + 386 --- 389 + 386 --- 390 + 386 --- 391 + 386 --- 392 + 386 --- 393 386 ---- 394 394 <--x 388 388 --- 398 diff --git a/rust/kcl-lib/tests/kcl_samples/scrub-daddy-holder/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/scrub-daddy-holder/artifact_graph_flowchart.snap.md index e65994e26c6..27c1aab2b7b 100644 --- a/rust/kcl-lib/tests/kcl_samples/scrub-daddy-holder/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/scrub-daddy-holder/artifact_graph_flowchart.snap.md @@ -152,7 +152,7 @@ flowchart LR 3 <--x 5 54 --- 3 4 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 5 --- 13 5 --- 39 @@ -179,10 +179,10 @@ flowchart LR 16 <--x 21 17 <--x 22 18 <--x 23 - 19 <--x 20 - 19 <--x 21 - 19 <--x 22 - 19 <--x 23 + 19 --- 20 + 19 --- 21 + 19 --- 22 + 19 --- 23 19 ---- 24 19 --- 39 20 --- 28 @@ -239,7 +239,7 @@ flowchart LR 41 <--x 43 67 --- 41 42 <--x 44 - 43 <--x 44 + 43 --- 44 43 ---- 45 43 --- 52 44 --- 46 diff --git a/rust/kcl-lib/tests/kcl_samples/shaft-grommet/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/shaft-grommet/artifact_graph_flowchart.snap.md index 851d17cf831..bcf967ec023 100644 --- a/rust/kcl-lib/tests/kcl_samples/shaft-grommet/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/shaft-grommet/artifact_graph_flowchart.snap.md @@ -126,13 +126,13 @@ flowchart LR 7 <--x 16 9 <--x 17 10 <--x 18 - 11 <--x 12 - 11 <--x 13 - 11 <--x 14 - 11 <--x 15 - 11 <--x 16 - 11 <--x 17 - 11 <--x 18 + 11 --- 12 + 11 --- 13 + 11 --- 14 + 11 --- 15 + 11 --- 16 + 11 --- 17 + 11 --- 18 11 ---- 19 12 --- 20 12 x--> 27 diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md index 9078c054fb0..153730d217d 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/artifact_graph_flowchart.snap.md @@ -606,26 +606,26 @@ flowchart LR 20 <--x 42 21 <--x 43 22 <--x 44 - 24 <--x 25 - 24 <--x 26 - 24 <--x 27 - 24 <--x 28 - 24 <--x 29 - 24 <--x 30 - 24 <--x 31 - 24 <--x 32 - 24 <--x 33 - 24 <--x 34 - 24 <--x 35 - 24 <--x 36 - 24 <--x 37 - 24 <--x 38 - 24 <--x 39 - 24 <--x 40 - 24 <--x 41 - 24 <--x 42 - 24 <--x 43 - 24 <--x 44 + 24 --- 25 + 24 --- 26 + 24 --- 27 + 24 --- 28 + 24 --- 29 + 24 --- 30 + 24 --- 31 + 24 --- 32 + 24 --- 33 + 24 --- 34 + 24 --- 35 + 24 --- 36 + 24 --- 37 + 24 --- 38 + 24 --- 39 + 24 --- 40 + 24 --- 41 + 24 --- 42 + 24 --- 43 + 24 --- 44 24 ---- 45 24 --- 191 25 --- 64 @@ -890,63 +890,63 @@ flowchart LR 116 <--x 126 117 <--x 128 118 <--x 136 - 119 <--x 120 + 119 --- 120 119 ---- 137 119 --- 191 120 --- 138 120 x--> 139 120 --- 141 120 --- 142 - 121 <--x 122 + 121 --- 122 121 ---- 143 121 --- 191 122 --- 144 122 x--> 145 122 --- 147 122 --- 148 - 123 <--x 124 + 123 --- 124 123 ---- 149 123 --- 191 124 --- 150 124 x--> 151 124 --- 153 124 --- 154 - 125 <--x 126 + 125 --- 126 125 ---- 155 125 --- 191 126 --- 156 126 x--> 157 126 --- 159 126 --- 160 - 127 <--x 128 + 127 --- 128 127 ---- 161 127 --- 191 128 --- 162 128 x--> 163 128 --- 165 128 --- 166 - 129 <--x 130 + 129 --- 130 129 ---- 167 129 --- 191 130 --- 168 130 x--> 169 130 --- 171 130 --- 172 - 131 <--x 132 + 131 --- 132 131 ---- 173 131 --- 191 132 --- 174 132 x--> 175 132 --- 177 132 --- 178 - 133 <--x 134 + 133 --- 134 133 ---- 179 133 --- 191 134 --- 180 134 x--> 181 134 --- 183 134 --- 184 - 135 <--x 136 + 135 --- 136 135 ---- 185 135 --- 191 136 --- 186 diff --git a/rust/kcl-lib/tests/kcl_samples/snowman/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/snowman/artifact_graph_flowchart.snap.md index f70028d4429..77a056db4fa 100644 --- a/rust/kcl-lib/tests/kcl_samples/snowman/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/snowman/artifact_graph_flowchart.snap.md @@ -444,8 +444,8 @@ flowchart LR 153 --- 2 3 <--x 6 4 <--x 7 - 5 <--x 6 - 5 <--x 7 + 5 --- 6 + 5 --- 7 5 ---- 8 8 <--x 7 7 --- 9 @@ -459,8 +459,8 @@ flowchart LR 157 --- 11 12 <--x 15 13 <--x 16 - 14 <--x 15 - 14 <--x 16 + 14 --- 15 + 14 --- 16 14 ---- 17 17 <--x 16 16 --- 18 @@ -474,8 +474,8 @@ flowchart LR 161 --- 20 21 <--x 24 22 <--x 25 - 23 <--x 24 - 23 <--x 25 + 23 --- 24 + 23 --- 25 23 ---- 26 26 <--x 25 25 --- 27 @@ -489,8 +489,8 @@ flowchart LR 165 --- 29 30 <--x 33 31 <--x 34 - 32 <--x 33 - 32 <--x 34 + 32 --- 33 + 32 --- 34 32 ---- 35 35 <--x 34 34 --- 36 @@ -504,8 +504,8 @@ flowchart LR 169 --- 38 39 <--x 42 40 <--x 43 - 41 <--x 42 - 41 <--x 43 + 41 --- 42 + 41 --- 43 41 ---- 44 44 <--x 43 43 --- 45 @@ -519,8 +519,8 @@ flowchart LR 173 --- 47 48 <--x 51 49 <--x 52 - 50 <--x 51 - 50 <--x 52 + 50 --- 51 + 50 --- 52 50 ---- 53 53 <--x 52 52 --- 54 @@ -534,8 +534,8 @@ flowchart LR 177 --- 56 57 <--x 60 58 <--x 61 - 59 <--x 60 - 59 <--x 61 + 59 --- 60 + 59 --- 61 59 ---- 62 62 <--x 61 61 --- 63 @@ -549,8 +549,8 @@ flowchart LR 181 --- 65 66 <--x 69 67 <--x 70 - 68 <--x 69 - 68 <--x 70 + 68 --- 69 + 68 --- 70 68 ---- 71 71 <--x 70 70 --- 72 @@ -572,12 +572,12 @@ flowchart LR 78 <--x 85 79 <--x 86 80 <--x 87 - 81 <--x 82 - 81 <--x 83 - 81 <--x 84 - 81 <--x 85 - 81 <--x 86 - 81 <--x 87 + 81 --- 82 + 81 --- 83 + 81 --- 84 + 81 --- 85 + 81 --- 86 + 81 --- 87 81 ---- 88 88 <--x 82 82 --- 92 @@ -627,7 +627,7 @@ flowchart LR 101 <--x 103 192 --- 101 102 <--x 104 - 103 <--x 104 + 103 --- 104 103 ---- 105 104 --- 106 104 x--> 107 @@ -650,7 +650,7 @@ flowchart LR 111 <--x 113 194 --- 111 112 <--x 114 - 113 <--x 114 + 113 --- 114 113 ---- 115 114 --- 116 114 --- 118 @@ -669,7 +669,7 @@ flowchart LR 121 <--x 123 195 --- 121 122 <--x 124 - 123 <--x 124 + 123 --- 124 123 ---- 125 124 --- 126 124 x--> 127 @@ -690,7 +690,7 @@ flowchart LR 132 <--x 134 196 --- 132 133 <--x 135 - 134 <--x 135 + 134 --- 135 134 ---- 136 135 --- 137 135 x--> 138 @@ -711,7 +711,7 @@ flowchart LR 143 <--x 145 197 --- 143 144 <--x 146 - 145 <--x 146 + 145 --- 146 145 ---- 147 146 --- 148 146 x--> 150 diff --git a/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/artifact_graph_flowchart.snap.md index d4708691d69..5c96fecf352 100644 --- a/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/artifact_graph_flowchart.snap.md @@ -133,7 +133,7 @@ flowchart LR 2 <--x 4 56 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 5 --- 7 5 x--> 9 @@ -177,12 +177,12 @@ flowchart LR 17 <--x 24 18 <--x 25 19 <--x 26 - 20 <--x 21 - 20 <--x 22 - 20 <--x 23 - 20 <--x 24 - 20 <--x 25 - 20 <--x 26 + 20 --- 21 + 20 --- 22 + 20 --- 23 + 20 --- 24 + 20 --- 25 + 20 --- 26 20 ---- 27 21 --- 28 21 --- 35 @@ -249,7 +249,7 @@ flowchart LR 47 <--x 49 65 --- 47 48 <--x 50 - 49 <--x 50 + 49 --- 50 49 ---- 51 50 --- 52 50 --- 54 diff --git a/rust/kcl-lib/tests/kcl_samples/sphere/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/sphere/artifact_graph_flowchart.snap.md index 95f31271269..808296bf00e 100644 --- a/rust/kcl-lib/tests/kcl_samples/sphere/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/sphere/artifact_graph_flowchart.snap.md @@ -39,8 +39,8 @@ flowchart LR 10 --- 2 3 <--x 6 4 <--x 7 - 5 <--x 6 - 5 <--x 7 + 5 --- 6 + 5 --- 7 5 ---- 8 8 <--x 7 7 --- 9 diff --git a/rust/kcl-lib/tests/kcl_samples/spinning-highrise-tower/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/spinning-highrise-tower/artifact_graph_flowchart.snap.md index e007e17ab29..256aad80963 100644 --- a/rust/kcl-lib/tests/kcl_samples/spinning-highrise-tower/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/spinning-highrise-tower/artifact_graph_flowchart.snap.md @@ -457,10 +457,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 18 @@ -521,10 +521,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 34 --- 39 34 x--> 44 @@ -585,10 +585,10 @@ flowchart LR 56 <--x 61 57 <--x 62 58 <--x 63 - 59 <--x 60 - 59 <--x 61 - 59 <--x 62 - 59 <--x 63 + 59 --- 60 + 59 --- 61 + 59 --- 62 + 59 --- 63 59 ---- 64 60 --- 65 60 x--> 69 @@ -649,10 +649,10 @@ flowchart LR 82 <--x 87 83 <--x 88 84 <--x 89 - 85 <--x 86 - 85 <--x 87 - 85 <--x 88 - 85 <--x 89 + 85 --- 86 + 85 --- 87 + 85 --- 88 + 85 --- 89 85 ---- 90 85 --- 155 86 --- 92 @@ -719,10 +719,10 @@ flowchart LR 107 <--x 112 108 <--x 113 109 <--x 114 - 110 <--x 111 - 110 <--x 112 - 110 <--x 113 - 110 <--x 114 + 110 --- 111 + 110 --- 112 + 110 --- 113 + 110 --- 114 110 ---- 115 111 --- 116 111 --- 121 @@ -778,10 +778,10 @@ flowchart LR 132 <--x 137 133 <--x 138 134 <--x 139 - 135 <--x 136 - 135 <--x 137 - 135 <--x 138 - 135 <--x 139 + 135 --- 136 + 135 --- 137 + 135 --- 138 + 135 --- 139 135 ---- 140 135 --- 156 136 --- 141 diff --git a/rust/kcl-lib/tests/kcl_samples/split-washer-spring-version/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/split-washer-spring-version/artifact_graph_flowchart.snap.md index a93f57e73c9..13ea440e96e 100644 --- a/rust/kcl-lib/tests/kcl_samples/split-washer-spring-version/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/split-washer-spring-version/artifact_graph_flowchart.snap.md @@ -78,10 +78,10 @@ flowchart LR 5 <--x 10 6 <--x 11 7 <--x 12 - 8 <--x 9 - 8 <--x 10 - 8 <--x 11 - 8 <--x 12 + 8 --- 9 + 8 --- 10 + 8 --- 11 + 8 --- 12 8 ---- 13 9 --- 14 9 x--> 18 diff --git a/rust/kcl-lib/tests/kcl_samples/stylized-car/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/stylized-car/artifact_graph_flowchart.snap.md index 5d89855262e..7e44e9232ea 100644 --- a/rust/kcl-lib/tests/kcl_samples/stylized-car/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/stylized-car/artifact_graph_flowchart.snap.md @@ -665,10 +665,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 66 8 --- 13 @@ -734,12 +734,12 @@ flowchart LR 32 <--x 39 33 <--x 40 34 <--x 41 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 35 ---- 42 35 --- 63 35 --- 64 @@ -827,10 +827,10 @@ flowchart LR 70 <--x 75 71 <--x 76 72 <--x 77 - 73 <--x 74 - 73 <--x 75 - 73 <--x 76 - 73 <--x 77 + 73 --- 74 + 73 --- 75 + 73 --- 76 + 73 --- 77 73 ---- 78 74 --- 79 74 x--> 84 @@ -891,10 +891,10 @@ flowchart LR 96 <--x 101 97 <--x 102 98 <--x 103 - 99 <--x 100 - 99 <--x 101 - 99 <--x 102 - 99 <--x 103 + 99 --- 100 + 99 --- 101 + 99 --- 102 + 99 --- 103 99 ---- 104 100 --- 105 100 x--> 110 @@ -955,10 +955,10 @@ flowchart LR 122 <--x 127 123 <--x 128 124 <--x 129 - 125 <--x 126 - 125 <--x 127 - 125 <--x 128 - 125 <--x 129 + 125 --- 126 + 125 --- 127 + 125 --- 128 + 125 --- 129 125 ---- 130 126 --- 131 126 x--> 136 @@ -1035,13 +1035,13 @@ flowchart LR 148 <--x 173 148 <--x 187 148 <--x 201 - 149 <--x 150 + 149 --- 150 149 ---- 153 150 --- 154 150 x--> 156 150 --- 157 150 --- 158 - 151 <--x 152 + 151 --- 152 151 ---- 159 152 --- 160 152 x--> 162 @@ -1099,7 +1099,7 @@ flowchart LR 160 --- 163 160 --- 164 163 <--x 161 - 165 <--x 166 + 165 --- 166 166 --- 167 166 x--> 169 166 --- 170 @@ -1107,7 +1107,7 @@ flowchart LR 167 --- 170 167 --- 171 170 <--x 168 - 172 <--x 173 + 172 --- 173 173 --- 174 173 x--> 176 173 --- 177 @@ -1115,7 +1115,7 @@ flowchart LR 174 --- 177 174 --- 178 177 <--x 175 - 179 <--x 180 + 179 --- 180 180 --- 181 180 x--> 183 180 --- 184 @@ -1123,7 +1123,7 @@ flowchart LR 181 --- 184 181 --- 185 184 <--x 182 - 186 <--x 187 + 186 --- 187 187 --- 188 187 x--> 190 187 --- 191 @@ -1131,7 +1131,7 @@ flowchart LR 188 --- 191 188 --- 192 191 <--x 189 - 193 <--x 194 + 193 --- 194 194 --- 195 194 x--> 197 194 --- 198 @@ -1139,7 +1139,7 @@ flowchart LR 195 --- 198 195 --- 199 198 <--x 196 - 200 <--x 201 + 200 --- 201 201 --- 202 201 x--> 204 201 --- 205 @@ -1154,7 +1154,7 @@ flowchart LR 208 <--x 210 323 --- 208 209 <--x 211 - 210 <--x 211 + 210 --- 211 210 --- 212 210 ---- 213 211 --- 214 @@ -1182,10 +1182,10 @@ flowchart LR 223 <--x 228 224 <--x 229 225 <--x 230 - 226 <--x 227 - 226 <--x 228 - 226 <--x 229 - 226 <--x 230 + 226 --- 227 + 226 --- 228 + 226 --- 229 + 226 --- 230 226 --- 231 226 ---- 232 227 --- 233 diff --git a/rust/kcl-lib/tests/kcl_samples/stylized-cybertruck/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/stylized-cybertruck/artifact_graph_flowchart.snap.md index be013d53dd6..e76d19a1457 100644 --- a/rust/kcl-lib/tests/kcl_samples/stylized-cybertruck/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/stylized-cybertruck/artifact_graph_flowchart.snap.md @@ -835,10 +835,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 144 8 --- 13 @@ -928,12 +928,12 @@ flowchart LR 34 <--x 69 34 <--x 96 34 <--x 123 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 35 ---- 42 35 --- 144 36 --- 43 @@ -1067,12 +1067,12 @@ flowchart LR 57 <--x 50 59 <--x 50 61 <--x 50 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 - 63 <--x 67 - 63 <--x 68 - 63 <--x 69 + 63 --- 64 + 63 --- 65 + 63 --- 66 + 63 --- 67 + 63 --- 68 + 63 --- 69 63 --- 144 64 --- 70 64 x--> 76 @@ -1122,12 +1122,12 @@ flowchart LR 84 <--x 77 86 <--x 77 88 <--x 77 - 90 <--x 91 - 90 <--x 92 - 90 <--x 93 - 90 <--x 94 - 90 <--x 95 - 90 <--x 96 + 90 --- 91 + 90 --- 92 + 90 --- 93 + 90 --- 94 + 90 --- 95 + 90 --- 96 90 --- 144 91 --- 100 91 x--> 103 @@ -1177,12 +1177,12 @@ flowchart LR 111 <--x 104 113 <--x 104 115 <--x 104 - 117 <--x 118 - 117 <--x 119 - 117 <--x 120 - 117 <--x 121 - 117 <--x 122 - 117 <--x 123 + 117 --- 118 + 117 --- 119 + 117 --- 120 + 117 --- 121 + 117 --- 122 + 117 --- 123 117 --- 144 118 --- 124 118 x--> 130 @@ -1245,10 +1245,10 @@ flowchart LR 148 <--x 153 149 <--x 154 150 <--x 155 - 151 <--x 152 - 151 <--x 153 - 151 <--x 154 - 151 <--x 155 + 151 --- 152 + 151 --- 153 + 151 --- 154 + 151 --- 155 151 ---- 156 152 --- 157 152 x--> 162 @@ -1307,9 +1307,9 @@ flowchart LR 173 <--x 177 174 <--x 178 175 <--x 179 - 176 <--x 177 - 176 <--x 178 - 176 <--x 179 + 176 --- 177 + 176 --- 178 + 176 --- 179 176 ---- 180 176 --- 218 177 --- 181 @@ -1360,10 +1360,10 @@ flowchart LR 195 <--x 200 196 <--x 201 197 <--x 202 - 198 <--x 199 - 198 <--x 200 - 198 <--x 201 - 198 <--x 202 + 198 --- 199 + 198 --- 200 + 198 --- 201 + 198 --- 202 198 ---- 203 198 --- 218 199 --- 204 @@ -1441,13 +1441,13 @@ flowchart LR 222 <--x 247 222 <--x 261 222 <--x 275 - 223 <--x 224 + 223 --- 224 223 ---- 227 224 --- 228 224 x--> 230 224 --- 231 224 --- 232 - 225 <--x 226 + 225 --- 226 225 ---- 233 226 --- 234 226 x--> 236 @@ -1505,7 +1505,7 @@ flowchart LR 234 --- 237 234 --- 238 237 <--x 235 - 239 <--x 240 + 239 --- 240 240 --- 241 240 x--> 243 240 --- 244 @@ -1513,7 +1513,7 @@ flowchart LR 241 --- 244 241 --- 245 244 <--x 242 - 246 <--x 247 + 246 --- 247 247 --- 248 247 x--> 250 247 --- 251 @@ -1521,7 +1521,7 @@ flowchart LR 248 --- 251 248 --- 252 251 <--x 249 - 253 <--x 254 + 253 --- 254 254 --- 255 254 x--> 257 254 --- 258 @@ -1529,7 +1529,7 @@ flowchart LR 255 --- 258 255 --- 259 258 <--x 256 - 260 <--x 261 + 260 --- 261 261 --- 262 261 x--> 264 261 --- 265 @@ -1537,7 +1537,7 @@ flowchart LR 262 --- 265 262 --- 266 265 <--x 263 - 267 <--x 268 + 267 --- 268 268 --- 269 268 x--> 271 268 --- 272 @@ -1545,7 +1545,7 @@ flowchart LR 269 --- 272 269 --- 273 272 <--x 270 - 274 <--x 275 + 274 --- 275 275 --- 276 275 x--> 278 275 --- 279 @@ -1566,10 +1566,10 @@ flowchart LR 284 <--x 289 285 <--x 290 286 <--x 291 - 287 <--x 288 - 287 <--x 289 - 287 <--x 290 - 287 <--x 291 + 287 --- 288 + 287 --- 289 + 287 --- 290 + 287 --- 291 287 ---- 292 288 --- 293 288 x--> 298 @@ -1630,10 +1630,10 @@ flowchart LR 310 <--x 315 311 <--x 316 312 <--x 317 - 313 <--x 314 - 313 <--x 315 - 313 <--x 316 - 313 <--x 317 + 313 --- 314 + 313 --- 315 + 313 --- 316 + 313 --- 317 313 ---- 318 314 --- 319 314 x--> 323 diff --git a/rust/kcl-lib/tests/kcl_samples/stylized-dump-truck/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/stylized-dump-truck/artifact_graph_flowchart.snap.md index 4d0b2a573e0..e5c52702e04 100644 --- a/rust/kcl-lib/tests/kcl_samples/stylized-dump-truck/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/stylized-dump-truck/artifact_graph_flowchart.snap.md @@ -917,10 +917,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 144 8 --- 13 @@ -1010,12 +1010,12 @@ flowchart LR 34 <--x 69 34 <--x 96 34 <--x 123 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 35 ---- 42 35 --- 144 36 --- 43 @@ -1149,12 +1149,12 @@ flowchart LR 57 <--x 50 59 <--x 50 61 <--x 50 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 - 63 <--x 67 - 63 <--x 68 - 63 <--x 69 + 63 --- 64 + 63 --- 65 + 63 --- 66 + 63 --- 67 + 63 --- 68 + 63 --- 69 63 --- 144 64 --- 70 64 x--> 76 @@ -1204,12 +1204,12 @@ flowchart LR 84 <--x 77 86 <--x 77 88 <--x 77 - 90 <--x 91 - 90 <--x 92 - 90 <--x 93 - 90 <--x 94 - 90 <--x 95 - 90 <--x 96 + 90 --- 91 + 90 --- 92 + 90 --- 93 + 90 --- 94 + 90 --- 95 + 90 --- 96 90 --- 144 91 --- 100 91 x--> 103 @@ -1259,12 +1259,12 @@ flowchart LR 111 <--x 104 113 <--x 104 115 <--x 104 - 117 <--x 118 - 117 <--x 119 - 117 <--x 120 - 117 <--x 121 - 117 <--x 122 - 117 <--x 123 + 117 --- 118 + 117 --- 119 + 117 --- 120 + 117 --- 121 + 117 --- 122 + 117 --- 123 117 --- 144 118 --- 124 118 x--> 130 @@ -1327,10 +1327,10 @@ flowchart LR 148 <--x 153 149 <--x 154 150 <--x 155 - 151 <--x 152 - 151 <--x 153 - 151 <--x 154 - 151 <--x 155 + 151 --- 152 + 151 --- 153 + 151 --- 154 + 151 --- 155 151 ---- 156 152 --- 157 152 x--> 162 @@ -1391,10 +1391,10 @@ flowchart LR 174 <--x 179 175 <--x 180 176 <--x 181 - 177 <--x 178 - 177 <--x 179 - 177 <--x 180 - 177 <--x 181 + 177 --- 178 + 177 --- 179 + 177 --- 180 + 177 --- 181 177 ---- 182 178 --- 183 178 x--> 188 @@ -1459,12 +1459,12 @@ flowchart LR 202 <--x 209 203 <--x 210 204 <--x 211 - 205 <--x 206 - 205 <--x 207 - 205 <--x 208 - 205 <--x 209 - 205 <--x 210 - 205 <--x 211 + 205 --- 206 + 205 --- 207 + 205 --- 208 + 205 --- 209 + 205 --- 210 + 205 --- 211 205 ---- 212 206 --- 213 206 x--> 220 @@ -1547,10 +1547,10 @@ flowchart LR 236 <--x 241 237 <--x 242 238 <--x 243 - 239 <--x 240 - 239 <--x 241 - 239 <--x 242 - 239 <--x 243 + 239 --- 240 + 239 --- 241 + 239 --- 242 + 239 --- 243 239 ---- 244 240 --- 245 240 x--> 250 @@ -1627,13 +1627,13 @@ flowchart LR 262 <--x 287 262 <--x 301 262 <--x 315 - 263 <--x 264 + 263 --- 264 263 ---- 267 264 --- 268 264 x--> 270 264 --- 271 264 --- 272 - 265 <--x 266 + 265 --- 266 265 ---- 273 266 --- 274 266 x--> 276 @@ -1691,7 +1691,7 @@ flowchart LR 274 --- 277 274 --- 278 277 <--x 275 - 279 <--x 280 + 279 --- 280 280 --- 281 280 x--> 283 280 --- 284 @@ -1699,7 +1699,7 @@ flowchart LR 281 --- 284 281 --- 285 284 <--x 282 - 286 <--x 287 + 286 --- 287 287 --- 288 287 x--> 290 287 --- 291 @@ -1707,7 +1707,7 @@ flowchart LR 288 --- 291 288 --- 292 291 <--x 289 - 293 <--x 294 + 293 --- 294 294 --- 295 294 x--> 297 294 --- 298 @@ -1715,7 +1715,7 @@ flowchart LR 295 --- 298 295 --- 299 298 <--x 296 - 300 <--x 301 + 300 --- 301 301 --- 302 301 x--> 304 301 --- 305 @@ -1723,7 +1723,7 @@ flowchart LR 302 --- 305 302 --- 306 305 <--x 303 - 307 <--x 308 + 307 --- 308 308 --- 309 308 x--> 311 308 --- 312 @@ -1731,7 +1731,7 @@ flowchart LR 309 --- 312 309 --- 313 312 <--x 310 - 314 <--x 315 + 314 --- 315 315 --- 316 315 x--> 318 315 --- 319 @@ -1746,7 +1746,7 @@ flowchart LR 322 <--x 324 466 --- 322 323 <--x 325 - 324 <--x 325 + 324 --- 325 324 --- 326 324 ---- 327 325 --- 328 @@ -1774,10 +1774,10 @@ flowchart LR 337 <--x 342 338 <--x 343 339 <--x 344 - 340 <--x 341 - 340 <--x 342 - 340 <--x 343 - 340 <--x 344 + 340 --- 341 + 340 --- 342 + 340 --- 343 + 340 --- 344 340 --- 345 340 ---- 346 341 --- 347 diff --git a/rust/kcl-lib/tests/kcl_samples/stylized-firetruck/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/stylized-firetruck/artifact_graph_flowchart.snap.md index fdc343fca82..d55ec2e6b83 100644 --- a/rust/kcl-lib/tests/kcl_samples/stylized-firetruck/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/stylized-firetruck/artifact_graph_flowchart.snap.md @@ -965,10 +965,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 144 8 --- 13 @@ -1058,12 +1058,12 @@ flowchart LR 34 <--x 69 34 <--x 96 34 <--x 123 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 35 ---- 42 35 --- 144 36 --- 43 @@ -1197,12 +1197,12 @@ flowchart LR 57 <--x 50 59 <--x 50 61 <--x 50 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 - 63 <--x 67 - 63 <--x 68 - 63 <--x 69 + 63 --- 64 + 63 --- 65 + 63 --- 66 + 63 --- 67 + 63 --- 68 + 63 --- 69 63 --- 144 64 --- 70 64 x--> 76 @@ -1252,12 +1252,12 @@ flowchart LR 84 <--x 77 86 <--x 77 88 <--x 77 - 90 <--x 91 - 90 <--x 92 - 90 <--x 93 - 90 <--x 94 - 90 <--x 95 - 90 <--x 96 + 90 --- 91 + 90 --- 92 + 90 --- 93 + 90 --- 94 + 90 --- 95 + 90 --- 96 90 --- 144 91 --- 100 91 x--> 103 @@ -1307,12 +1307,12 @@ flowchart LR 111 <--x 104 113 <--x 104 115 <--x 104 - 117 <--x 118 - 117 <--x 119 - 117 <--x 120 - 117 <--x 121 - 117 <--x 122 - 117 <--x 123 + 117 --- 118 + 117 --- 119 + 117 --- 120 + 117 --- 121 + 117 --- 122 + 117 --- 123 117 --- 144 118 --- 124 118 x--> 130 @@ -1375,10 +1375,10 @@ flowchart LR 148 <--x 153 149 <--x 154 150 <--x 155 - 151 <--x 152 - 151 <--x 153 - 151 <--x 154 - 151 <--x 155 + 151 --- 152 + 151 --- 153 + 151 --- 154 + 151 --- 155 151 ---- 156 152 --- 157 152 x--> 162 @@ -1439,10 +1439,10 @@ flowchart LR 174 <--x 179 175 <--x 180 176 <--x 181 - 177 <--x 178 - 177 <--x 179 - 177 <--x 180 - 177 <--x 181 + 177 --- 178 + 177 --- 179 + 177 --- 180 + 177 --- 181 177 ---- 182 178 --- 183 178 x--> 188 @@ -1503,10 +1503,10 @@ flowchart LR 200 <--x 205 201 <--x 206 202 <--x 207 - 203 <--x 204 - 203 <--x 205 - 203 <--x 206 - 203 <--x 207 + 203 --- 204 + 203 --- 205 + 203 --- 206 + 203 --- 207 203 ---- 208 204 --- 209 204 x--> 214 @@ -1567,10 +1567,10 @@ flowchart LR 226 <--x 231 227 <--x 232 228 <--x 233 - 229 <--x 230 - 229 <--x 231 - 229 <--x 232 - 229 <--x 233 + 229 --- 230 + 229 --- 231 + 229 --- 232 + 229 --- 233 229 ---- 234 230 --- 235 230 x--> 240 @@ -1631,10 +1631,10 @@ flowchart LR 252 <--x 257 253 <--x 258 254 <--x 259 - 255 <--x 256 - 255 <--x 257 - 255 <--x 258 - 255 <--x 259 + 255 --- 256 + 255 --- 257 + 255 --- 258 + 255 --- 259 255 ---- 260 256 --- 261 256 x--> 265 @@ -1711,13 +1711,13 @@ flowchart LR 278 <--x 303 278 <--x 317 278 <--x 331 - 279 <--x 280 + 279 --- 280 279 ---- 283 280 --- 284 280 x--> 286 280 --- 287 280 --- 288 - 281 <--x 282 + 281 --- 282 281 ---- 289 282 --- 290 282 x--> 292 @@ -1775,7 +1775,7 @@ flowchart LR 290 --- 293 290 --- 294 293 <--x 291 - 295 <--x 296 + 295 --- 296 296 --- 297 296 x--> 299 296 --- 300 @@ -1783,7 +1783,7 @@ flowchart LR 297 --- 300 297 --- 301 300 <--x 298 - 302 <--x 303 + 302 --- 303 303 --- 304 303 x--> 306 303 --- 307 @@ -1791,7 +1791,7 @@ flowchart LR 304 --- 307 304 --- 308 307 <--x 305 - 309 <--x 310 + 309 --- 310 310 --- 311 310 x--> 313 310 --- 314 @@ -1799,7 +1799,7 @@ flowchart LR 311 --- 314 311 --- 315 314 <--x 312 - 316 <--x 317 + 316 --- 317 317 --- 318 317 x--> 320 317 --- 321 @@ -1807,7 +1807,7 @@ flowchart LR 318 --- 321 318 --- 322 321 <--x 319 - 323 <--x 324 + 323 --- 324 324 --- 325 324 x--> 327 324 --- 328 @@ -1815,7 +1815,7 @@ flowchart LR 325 --- 328 325 --- 329 328 <--x 326 - 330 <--x 331 + 330 --- 331 331 --- 332 331 x--> 334 331 --- 335 @@ -1830,7 +1830,7 @@ flowchart LR 338 <--x 340 490 --- 338 339 <--x 341 - 340 <--x 341 + 340 --- 341 340 --- 342 340 ---- 343 341 --- 344 @@ -1858,10 +1858,10 @@ flowchart LR 353 <--x 358 354 <--x 359 355 <--x 360 - 356 <--x 357 - 356 <--x 358 - 356 <--x 359 - 356 <--x 360 + 356 --- 357 + 356 --- 358 + 356 --- 359 + 356 --- 360 356 --- 361 356 ---- 362 357 --- 363 diff --git a/rust/kcl-lib/tests/kcl_samples/stylized-mini-bus/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/stylized-mini-bus/artifact_graph_flowchart.snap.md index 025f50ccfa7..63d041dccf8 100644 --- a/rust/kcl-lib/tests/kcl_samples/stylized-mini-bus/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/stylized-mini-bus/artifact_graph_flowchart.snap.md @@ -813,10 +813,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 144 8 --- 13 @@ -906,12 +906,12 @@ flowchart LR 34 <--x 69 34 <--x 96 34 <--x 123 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 35 ---- 42 35 --- 144 36 --- 43 @@ -1045,12 +1045,12 @@ flowchart LR 57 <--x 50 59 <--x 50 61 <--x 50 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 - 63 <--x 67 - 63 <--x 68 - 63 <--x 69 + 63 --- 64 + 63 --- 65 + 63 --- 66 + 63 --- 67 + 63 --- 68 + 63 --- 69 63 --- 144 64 --- 70 64 x--> 76 @@ -1100,12 +1100,12 @@ flowchart LR 84 <--x 77 86 <--x 77 88 <--x 77 - 90 <--x 91 - 90 <--x 92 - 90 <--x 93 - 90 <--x 94 - 90 <--x 95 - 90 <--x 96 + 90 --- 91 + 90 --- 92 + 90 --- 93 + 90 --- 94 + 90 --- 95 + 90 --- 96 90 --- 144 91 --- 100 91 x--> 103 @@ -1155,12 +1155,12 @@ flowchart LR 111 <--x 104 113 <--x 104 115 <--x 104 - 117 <--x 118 - 117 <--x 119 - 117 <--x 120 - 117 <--x 121 - 117 <--x 122 - 117 <--x 123 + 117 --- 118 + 117 --- 119 + 117 --- 120 + 117 --- 121 + 117 --- 122 + 117 --- 123 117 --- 144 118 --- 124 118 x--> 130 @@ -1223,10 +1223,10 @@ flowchart LR 148 <--x 153 149 <--x 154 150 <--x 155 - 151 <--x 152 - 151 <--x 153 - 151 <--x 154 - 151 <--x 155 + 151 --- 152 + 151 --- 153 + 151 --- 154 + 151 --- 155 151 ---- 156 152 --- 157 152 x--> 162 @@ -1287,10 +1287,10 @@ flowchart LR 174 <--x 179 175 <--x 180 176 <--x 181 - 177 <--x 178 - 177 <--x 179 - 177 <--x 180 - 177 <--x 181 + 177 --- 178 + 177 --- 179 + 177 --- 180 + 177 --- 181 177 ---- 182 178 --- 183 178 x--> 188 @@ -1351,10 +1351,10 @@ flowchart LR 200 <--x 205 201 <--x 206 202 <--x 207 - 203 <--x 204 - 203 <--x 205 - 203 <--x 206 - 203 <--x 207 + 203 --- 204 + 203 --- 205 + 203 --- 206 + 203 --- 207 203 ---- 208 204 --- 209 204 x--> 214 @@ -1431,13 +1431,13 @@ flowchart LR 226 <--x 251 226 <--x 265 226 <--x 279 - 227 <--x 228 + 227 --- 228 227 ---- 231 228 --- 232 228 x--> 234 228 --- 235 228 --- 236 - 229 <--x 230 + 229 --- 230 229 ---- 237 230 --- 238 230 x--> 240 @@ -1495,7 +1495,7 @@ flowchart LR 238 --- 241 238 --- 242 241 <--x 239 - 243 <--x 244 + 243 --- 244 244 --- 245 244 x--> 247 244 --- 248 @@ -1503,7 +1503,7 @@ flowchart LR 245 --- 248 245 --- 249 248 <--x 246 - 250 <--x 251 + 250 --- 251 251 --- 252 251 x--> 254 251 --- 255 @@ -1511,7 +1511,7 @@ flowchart LR 252 --- 255 252 --- 256 255 <--x 253 - 257 <--x 258 + 257 --- 258 258 --- 259 258 x--> 261 258 --- 262 @@ -1519,7 +1519,7 @@ flowchart LR 259 --- 262 259 --- 263 262 <--x 260 - 264 <--x 265 + 264 --- 265 265 --- 266 265 x--> 268 265 --- 269 @@ -1527,7 +1527,7 @@ flowchart LR 266 --- 269 266 --- 270 269 <--x 267 - 271 <--x 272 + 271 --- 272 272 --- 273 272 x--> 275 272 --- 276 @@ -1535,7 +1535,7 @@ flowchart LR 273 --- 276 273 --- 277 276 <--x 274 - 278 <--x 279 + 278 --- 279 279 --- 280 279 x--> 282 279 --- 283 @@ -1550,7 +1550,7 @@ flowchart LR 286 <--x 288 410 --- 286 287 <--x 289 - 288 <--x 289 + 288 --- 289 288 --- 290 288 ---- 291 289 --- 292 @@ -1578,10 +1578,10 @@ flowchart LR 301 <--x 306 302 <--x 307 303 <--x 308 - 304 <--x 305 - 304 <--x 306 - 304 <--x 307 - 304 <--x 308 + 304 --- 305 + 304 --- 306 + 304 --- 307 + 304 --- 308 304 --- 309 304 ---- 310 305 --- 311 diff --git a/rust/kcl-lib/tests/kcl_samples/stylized-pickup-truck/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/stylized-pickup-truck/artifact_graph_flowchart.snap.md index 6715978ebc8..65121485434 100644 --- a/rust/kcl-lib/tests/kcl_samples/stylized-pickup-truck/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/stylized-pickup-truck/artifact_graph_flowchart.snap.md @@ -889,10 +889,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 144 8 --- 13 @@ -982,12 +982,12 @@ flowchart LR 34 <--x 69 34 <--x 96 34 <--x 123 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 35 ---- 42 35 --- 144 36 --- 43 @@ -1121,12 +1121,12 @@ flowchart LR 57 <--x 50 59 <--x 50 61 <--x 50 - 63 <--x 64 - 63 <--x 65 - 63 <--x 66 - 63 <--x 67 - 63 <--x 68 - 63 <--x 69 + 63 --- 64 + 63 --- 65 + 63 --- 66 + 63 --- 67 + 63 --- 68 + 63 --- 69 63 --- 144 64 --- 70 64 x--> 76 @@ -1176,12 +1176,12 @@ flowchart LR 84 <--x 77 86 <--x 77 88 <--x 77 - 90 <--x 91 - 90 <--x 92 - 90 <--x 93 - 90 <--x 94 - 90 <--x 95 - 90 <--x 96 + 90 --- 91 + 90 --- 92 + 90 --- 93 + 90 --- 94 + 90 --- 95 + 90 --- 96 90 --- 144 91 --- 100 91 x--> 103 @@ -1231,12 +1231,12 @@ flowchart LR 111 <--x 104 113 <--x 104 115 <--x 104 - 117 <--x 118 - 117 <--x 119 - 117 <--x 120 - 117 <--x 121 - 117 <--x 122 - 117 <--x 123 + 117 --- 118 + 117 --- 119 + 117 --- 120 + 117 --- 121 + 117 --- 122 + 117 --- 123 117 --- 144 118 --- 124 118 x--> 130 @@ -1299,10 +1299,10 @@ flowchart LR 148 <--x 153 149 <--x 154 150 <--x 155 - 151 <--x 152 - 151 <--x 153 - 151 <--x 154 - 151 <--x 155 + 151 --- 152 + 151 --- 153 + 151 --- 154 + 151 --- 155 151 ---- 156 151 --- 197 152 --- 157 @@ -1364,10 +1364,10 @@ flowchart LR 174 <--x 179 175 <--x 180 176 <--x 181 - 177 <--x 178 - 177 <--x 179 - 177 <--x 180 - 177 <--x 181 + 177 --- 178 + 177 --- 179 + 177 --- 180 + 177 --- 181 177 ---- 182 177 --- 197 178 --- 183 @@ -1429,10 +1429,10 @@ flowchart LR 201 <--x 206 202 <--x 207 203 <--x 208 - 204 <--x 205 - 204 <--x 206 - 204 <--x 207 - 204 <--x 208 + 204 --- 205 + 204 --- 206 + 204 --- 207 + 204 --- 208 204 ---- 209 205 --- 210 205 x--> 215 @@ -1493,10 +1493,10 @@ flowchart LR 227 <--x 232 228 <--x 233 229 <--x 234 - 230 <--x 231 - 230 <--x 232 - 230 <--x 233 - 230 <--x 234 + 230 --- 231 + 230 --- 232 + 230 --- 233 + 230 --- 234 230 ---- 235 231 --- 236 231 x--> 241 @@ -1573,13 +1573,13 @@ flowchart LR 253 <--x 278 253 <--x 292 253 <--x 306 - 254 <--x 255 + 254 --- 255 254 ---- 258 255 --- 259 255 x--> 261 255 --- 262 255 --- 263 - 256 <--x 257 + 256 --- 257 256 ---- 264 257 --- 265 257 x--> 267 @@ -1637,7 +1637,7 @@ flowchart LR 265 --- 268 265 --- 269 268 <--x 266 - 270 <--x 271 + 270 --- 271 271 --- 272 271 x--> 274 271 --- 275 @@ -1645,7 +1645,7 @@ flowchart LR 272 --- 275 272 --- 276 275 <--x 273 - 277 <--x 278 + 277 --- 278 278 --- 279 278 x--> 281 278 --- 282 @@ -1653,7 +1653,7 @@ flowchart LR 279 --- 282 279 --- 283 282 <--x 280 - 284 <--x 285 + 284 --- 285 285 --- 286 285 x--> 288 285 --- 289 @@ -1661,7 +1661,7 @@ flowchart LR 286 --- 289 286 --- 290 289 <--x 287 - 291 <--x 292 + 291 --- 292 292 --- 293 292 x--> 295 292 --- 296 @@ -1669,7 +1669,7 @@ flowchart LR 293 --- 296 293 --- 297 296 <--x 294 - 298 <--x 299 + 298 --- 299 299 --- 300 299 x--> 302 299 --- 303 @@ -1677,7 +1677,7 @@ flowchart LR 300 --- 303 300 --- 304 303 <--x 301 - 305 <--x 306 + 305 --- 306 306 --- 307 306 x--> 309 306 --- 310 @@ -1692,7 +1692,7 @@ flowchart LR 313 <--x 315 450 --- 313 314 <--x 316 - 315 <--x 316 + 315 --- 316 315 --- 317 315 ---- 318 316 --- 319 @@ -1720,10 +1720,10 @@ flowchart LR 328 <--x 333 329 <--x 334 330 <--x 335 - 331 <--x 332 - 331 <--x 333 - 331 <--x 334 - 331 <--x 335 + 331 --- 332 + 331 --- 333 + 331 --- 334 + 331 --- 335 331 --- 336 331 ---- 337 332 --- 338 diff --git a/rust/kcl-lib/tests/kcl_samples/surgical-drill-guide/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/surgical-drill-guide/artifact_graph_flowchart.snap.md index fd55eef1b35..2c3643dd39b 100644 --- a/rust/kcl-lib/tests/kcl_samples/surgical-drill-guide/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/surgical-drill-guide/artifact_graph_flowchart.snap.md @@ -575,14 +575,14 @@ flowchart LR 8 <--x 17 9 <--x 18 10 <--x 19 - 11 <--x 12 - 11 <--x 13 - 11 <--x 14 - 11 <--x 15 - 11 <--x 16 - 11 <--x 17 - 11 <--x 18 - 11 <--x 19 + 11 --- 12 + 11 --- 13 + 11 --- 14 + 11 --- 15 + 11 --- 16 + 11 --- 17 + 11 --- 18 + 11 --- 19 11 ---- 20 11 --- 69 12 --- 21 @@ -682,7 +682,7 @@ flowchart LR 48 <--x 50 186 --- 48 49 <--x 51 - 50 <--x 51 + 50 --- 51 50 ---- 52 50 --- 69 51 --- 53 @@ -704,7 +704,7 @@ flowchart LR 59 <--x 61 193 --- 59 60 <--x 62 - 61 <--x 62 + 61 --- 62 61 ---- 63 61 --- 69 62 --- 64 @@ -726,7 +726,7 @@ flowchart LR 71 <--x 73 200 --- 71 72 <--x 74 - 73 <--x 74 + 73 --- 74 73 ---- 75 74 --- 76 74 x--> 78 @@ -750,7 +750,7 @@ flowchart LR 81 <--x 83 208 --- 81 82 <--x 84 - 83 <--x 84 + 83 --- 84 83 ---- 85 84 --- 86 84 --- 88 @@ -772,7 +772,7 @@ flowchart LR 91 <--x 93 216 --- 91 92 <--x 94 - 93 <--x 94 + 93 --- 94 93 ---- 95 94 --- 96 94 --- 97 @@ -790,7 +790,7 @@ flowchart LR 100 <--x 103 223 --- 100 101 <--x 104 - 103 <--x 104 + 103 --- 104 103 ---- 105 104 --- 106 104 x--> 108 @@ -812,7 +812,7 @@ flowchart LR 113 <--x 115 237 --- 113 114 <--x 116 - 115 <--x 116 + 115 --- 116 115 ---- 117 116 --- 118 116 x--> 119 @@ -836,7 +836,7 @@ flowchart LR 123 <--x 125 245 --- 123 124 <--x 126 - 125 <--x 126 + 125 --- 126 125 ---- 127 126 --- 128 126 --- 130 @@ -858,7 +858,7 @@ flowchart LR 133 <--x 135 253 --- 133 134 <--x 136 - 135 <--x 136 + 135 --- 136 135 ---- 137 136 --- 138 136 --- 139 @@ -876,7 +876,7 @@ flowchart LR 142 <--x 145 260 --- 142 143 <--x 146 - 145 <--x 146 + 145 --- 146 145 ---- 147 146 --- 148 146 x--> 150 diff --git a/rust/kcl-lib/tests/kcl_samples/teapot/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/teapot/artifact_graph_flowchart.snap.md index 795880bfd54..e93728d185b 100644 --- a/rust/kcl-lib/tests/kcl_samples/teapot/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/teapot/artifact_graph_flowchart.snap.md @@ -350,7 +350,7 @@ flowchart LR 8 <--x 11 136 --- 8 9 <--x 12 - 11 <--x 12 + 11 --- 12 11 ---- 13 12 --- 14 12 x--> 15 @@ -381,12 +381,12 @@ flowchart LR 24 <--x 31 25 <--x 32 26 <--x 33 - 27 <--x 28 - 27 <--x 29 - 27 <--x 30 - 27 <--x 31 - 27 <--x 32 - 27 <--x 33 + 27 --- 28 + 27 --- 29 + 27 --- 30 + 27 --- 31 + 27 --- 32 + 27 --- 33 27 ---- 34 27 --- 78 34 <--x 29 @@ -445,10 +445,10 @@ flowchart LR 55 <--x 60 56 <--x 61 57 <--x 62 - 58 <--x 59 - 58 <--x 60 - 58 <--x 61 - 58 <--x 62 + 58 --- 59 + 58 --- 60 + 58 --- 61 + 58 --- 62 58 ---- 63 58 --- 78 59 --- 64 @@ -504,7 +504,7 @@ flowchart LR 80 <--x 82 156 --- 80 81 <--x 83 - 82 <--x 83 + 82 --- 83 82 ---- 84 82 --- 131 83 --- 85 @@ -544,16 +544,16 @@ flowchart LR 99 <--x 110 100 <--x 111 101 <--x 112 - 102 <--x 103 - 102 <--x 104 - 102 <--x 105 - 102 <--x 106 - 102 <--x 107 - 102 <--x 108 - 102 <--x 109 - 102 <--x 110 - 102 <--x 111 - 102 <--x 112 + 102 --- 103 + 102 --- 104 + 102 --- 105 + 102 --- 106 + 102 --- 107 + 102 --- 108 + 102 --- 109 + 102 --- 110 + 102 --- 111 + 102 --- 112 102 ---- 113 102 --- 131 113 <--x 104 diff --git a/rust/kcl-lib/tests/kcl_samples/thermal-block-insert/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/thermal-block-insert/artifact_graph_flowchart.snap.md index 5c9e7298802..b50bc98420f 100644 --- a/rust/kcl-lib/tests/kcl_samples/thermal-block-insert/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/thermal-block-insert/artifact_graph_flowchart.snap.md @@ -778,30 +778,30 @@ flowchart LR 50 <--x 100 51 <--x 101 52 <--x 102 - 53 <--x 54 - 53 <--x 55 - 53 <--x 56 - 53 <--x 57 - 53 <--x 58 - 53 <--x 59 - 53 <--x 60 - 53 <--x 61 - 53 <--x 62 - 53 <--x 63 - 53 <--x 64 - 53 <--x 65 - 53 <--x 66 - 53 <--x 67 - 53 <--x 68 - 53 <--x 69 - 53 <--x 70 - 53 <--x 71 - 53 <--x 72 - 53 <--x 73 - 53 <--x 74 - 53 <--x 75 - 53 <--x 76 - 53 <--x 77 + 53 --- 54 + 53 --- 55 + 53 --- 56 + 53 --- 57 + 53 --- 58 + 53 --- 59 + 53 --- 60 + 53 --- 61 + 53 --- 62 + 53 --- 63 + 53 --- 64 + 53 --- 65 + 53 --- 66 + 53 --- 67 + 53 --- 68 + 53 --- 69 + 53 --- 70 + 53 --- 71 + 53 --- 72 + 53 --- 73 + 53 --- 74 + 53 --- 75 + 53 --- 76 + 53 --- 77 53 ---- 103 54 --- 104 54 x--> 128 @@ -899,30 +899,30 @@ flowchart LR 77 x--> 128 77 --- 176 77 --- 177 - 78 <--x 79 - 78 <--x 80 - 78 <--x 81 - 78 <--x 82 - 78 <--x 83 - 78 <--x 84 - 78 <--x 85 - 78 <--x 86 - 78 <--x 87 - 78 <--x 88 - 78 <--x 89 - 78 <--x 90 - 78 <--x 91 - 78 <--x 92 - 78 <--x 93 - 78 <--x 94 - 78 <--x 95 - 78 <--x 96 - 78 <--x 97 - 78 <--x 98 - 78 <--x 99 - 78 <--x 100 - 78 <--x 101 - 78 <--x 102 + 78 --- 79 + 78 --- 80 + 78 --- 81 + 78 --- 82 + 78 --- 83 + 78 --- 84 + 78 --- 85 + 78 --- 86 + 78 --- 87 + 78 --- 88 + 78 --- 89 + 78 --- 90 + 78 --- 91 + 78 --- 92 + 78 --- 93 + 78 --- 94 + 78 --- 95 + 78 --- 96 + 78 --- 97 + 78 --- 98 + 78 --- 99 + 78 --- 100 + 78 --- 101 + 78 --- 102 78 ---- 178 79 --- 179 79 x--> 203 diff --git a/rust/kcl-lib/tests/kcl_samples/torus/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/torus/artifact_graph_flowchart.snap.md index 897439fc5a9..fa5c310738e 100644 --- a/rust/kcl-lib/tests/kcl_samples/torus/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/torus/artifact_graph_flowchart.snap.md @@ -28,7 +28,7 @@ flowchart LR 2 <--x 4 9 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 6 <--x 5 5 --- 7 diff --git a/rust/kcl-lib/tests/kcl_samples/tube-manifold/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/tube-manifold/artifact_graph_flowchart.snap.md index becc579119c..c964e04c935 100644 --- a/rust/kcl-lib/tests/kcl_samples/tube-manifold/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/tube-manifold/artifact_graph_flowchart.snap.md @@ -374,7 +374,7 @@ flowchart LR 93 --- 2 3 <--x 5 3 <--x 46 - 4 <--x 5 + 4 --- 5 4 ---- 6 4 --- 91 5 --- 7 @@ -417,14 +417,14 @@ flowchart LR 19 <--x 28 20 <--x 29 21 <--x 30 - 22 <--x 23 - 22 <--x 24 - 22 <--x 25 - 22 <--x 26 - 22 <--x 27 - 22 <--x 28 - 22 <--x 29 - 22 <--x 30 + 22 --- 23 + 22 --- 24 + 22 --- 25 + 22 --- 26 + 22 --- 27 + 22 --- 28 + 22 --- 29 + 22 --- 30 22 ---- 31 22 --- 53 31 <--x 24 @@ -474,7 +474,7 @@ flowchart LR 42 <--x 38 43 <--x 38 38 x--> 44 - 45 <--x 46 + 45 --- 46 45 --- 52 45 --- 53 46 --- 47 @@ -491,7 +491,7 @@ flowchart LR 55 <--x 57 151 --- 55 56 <--x 58 - 57 <--x 58 + 57 --- 58 57 ---- 59 57 --- 90 58 --- 60 @@ -523,12 +523,12 @@ flowchart LR 70 <--x 77 71 <--x 78 72 <--x 79 - 73 <--x 74 - 73 <--x 75 - 73 <--x 76 - 73 <--x 77 - 73 <--x 78 - 73 <--x 79 + 73 --- 74 + 73 --- 75 + 73 --- 76 + 73 --- 77 + 73 --- 78 + 73 --- 79 73 ---- 80 73 --- 90 80 <--x 75 diff --git a/rust/kcl-lib/tests/kcl_samples/usb-c/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/usb-c/artifact_graph_flowchart.snap.md index 85406d80504..9939e8e6656 100644 --- a/rust/kcl-lib/tests/kcl_samples/usb-c/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/usb-c/artifact_graph_flowchart.snap.md @@ -323,10 +323,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 14 8 x--> 17 @@ -388,10 +388,10 @@ flowchart LR 31 <--x 36 32 <--x 37 33 <--x 38 - 34 <--x 35 - 34 <--x 36 - 34 <--x 37 - 34 <--x 38 + 34 --- 35 + 34 --- 36 + 34 --- 37 + 34 --- 38 34 ---- 39 35 --- 40 35 x--> 44 @@ -463,15 +463,15 @@ flowchart LR 63 <--x 73 64 <--x 74 65 <--x 75 - 66 <--x 67 - 66 <--x 68 - 66 <--x 69 - 66 <--x 70 - 66 <--x 71 - 66 <--x 72 - 66 <--x 73 - 66 <--x 74 - 66 <--x 75 + 66 --- 67 + 66 --- 68 + 66 --- 69 + 66 --- 70 + 66 --- 71 + 66 --- 72 + 66 --- 73 + 66 --- 74 + 66 --- 75 66 ---- 76 67 --- 83 67 x--> 87 @@ -588,7 +588,7 @@ flowchart LR 112 <--x 114 164 --- 112 113 <--x 115 - 114 <--x 115 + 114 --- 115 114 ---- 116 115 --- 117 115 x--> 118 diff --git a/rust/kcl-lib/tests/kcl_samples/utility-sink/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/utility-sink/artifact_graph_flowchart.snap.md index bd8f472bc23..71ad56f5ac1 100644 --- a/rust/kcl-lib/tests/kcl_samples/utility-sink/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/utility-sink/artifact_graph_flowchart.snap.md @@ -1336,10 +1336,10 @@ flowchart LR 77 <--x 82 78 <--x 83 79 <--x 84 - 80 <--x 81 - 80 <--x 82 - 80 <--x 83 - 80 <--x 84 + 80 --- 81 + 80 --- 82 + 80 --- 83 + 80 --- 84 80 --- 85 80 ---- 86 80 --- 102 @@ -1514,10 +1514,10 @@ flowchart LR 152 <--x 157 153 <--x 158 154 <--x 159 - 155 <--x 156 - 155 <--x 157 - 155 <--x 158 - 155 <--x 159 + 155 --- 156 + 155 --- 157 + 155 --- 158 + 155 --- 159 155 ---- 160 156 --- 161 156 x--> 166 @@ -1589,10 +1589,10 @@ flowchart LR 177 <--x 182 178 <--x 183 179 <--x 184 - 180 <--x 181 - 180 <--x 182 - 180 <--x 183 - 180 <--x 184 + 180 --- 181 + 180 --- 182 + 180 --- 183 + 180 --- 184 180 ---- 185 181 --- 186 181 --- 191 @@ -1645,10 +1645,10 @@ flowchart LR 201 <--x 206 202 <--x 207 203 <--x 208 - 204 <--x 205 - 204 <--x 206 - 204 <--x 207 - 204 <--x 208 + 204 --- 205 + 204 --- 206 + 204 --- 207 + 204 --- 208 204 ---- 209 205 --- 210 205 --- 215 @@ -1698,7 +1698,7 @@ flowchart LR 224 <--x 226 477 --- 224 225 <--x 227 - 226 <--x 227 + 226 --- 227 226 ---- 228 226 --- 234 227 --- 229 @@ -1721,7 +1721,7 @@ flowchart LR 236 <--x 238 489 --- 236 237 <--x 239 - 238 <--x 239 + 238 --- 239 238 ---- 240 238 --- 246 239 --- 241 @@ -1744,7 +1744,7 @@ flowchart LR 248 <--x 250 501 --- 248 249 <--x 251 - 250 <--x 251 + 250 --- 251 250 ---- 252 250 --- 258 251 --- 253 @@ -1767,7 +1767,7 @@ flowchart LR 260 <--x 262 513 --- 260 261 <--x 263 - 262 <--x 263 + 262 --- 263 262 ---- 264 262 --- 270 263 --- 265 @@ -1799,10 +1799,10 @@ flowchart LR 274 <--x 279 275 <--x 280 276 <--x 281 - 277 <--x 278 - 277 <--x 279 - 277 <--x 280 - 277 <--x 281 + 277 --- 278 + 277 --- 279 + 277 --- 280 + 277 --- 281 277 ---- 282 277 --- 297 277 --- 298 @@ -1864,10 +1864,10 @@ flowchart LR 302 <--x 307 303 <--x 308 304 <--x 309 - 305 <--x 306 - 305 <--x 307 - 305 <--x 308 - 305 <--x 309 + 305 --- 306 + 305 --- 307 + 305 --- 308 + 305 --- 309 305 ---- 310 305 --- 325 306 --- 311 @@ -1933,7 +1933,7 @@ flowchart LR 334 <--x 336 588 --- 334 335 <--x 337 - 336 <--x 337 + 336 --- 337 336 ---- 338 336 --- 344 337 --- 339 diff --git a/rust/kcl-lib/tests/kcl_samples/v-block/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/v-block/artifact_graph_flowchart.snap.md index 4d7ab2f94fc..8e2d4caa7c4 100644 --- a/rust/kcl-lib/tests/kcl_samples/v-block/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/v-block/artifact_graph_flowchart.snap.md @@ -247,21 +247,21 @@ flowchart LR 15 <--x 31 16 <--x 32 17 <--x 33 - 18 <--x 19 - 18 <--x 20 - 18 <--x 21 - 18 <--x 22 - 18 <--x 23 - 18 <--x 24 - 18 <--x 25 - 18 <--x 26 - 18 <--x 27 - 18 <--x 28 - 18 <--x 29 - 18 <--x 30 - 18 <--x 31 - 18 <--x 32 - 18 <--x 33 + 18 --- 19 + 18 --- 20 + 18 --- 21 + 18 --- 22 + 18 --- 23 + 18 --- 24 + 18 --- 25 + 18 --- 26 + 18 --- 27 + 18 --- 28 + 18 --- 29 + 18 --- 30 + 18 --- 31 + 18 --- 32 + 18 --- 33 18 ---- 34 19 --- 35 19 x--> 50 diff --git a/rust/kcl-lib/tests/kcl_samples/washer/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/washer/artifact_graph_flowchart.snap.md index 615ddd9686d..2bc303ab0d6 100644 --- a/rust/kcl-lib/tests/kcl_samples/washer/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/washer/artifact_graph_flowchart.snap.md @@ -44,7 +44,7 @@ flowchart LR 2 <--x 5 13 --- 2 3 <--x 6 - 5 <--x 6 + 5 --- 6 5 ---- 7 6 --- 8 6 x--> 9 diff --git a/rust/kcl-lib/tests/kcl_samples/wedge/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/wedge/artifact_graph_flowchart.snap.md index c698526b7f4..776e73e6232 100644 --- a/rust/kcl-lib/tests/kcl_samples/wedge/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/wedge/artifact_graph_flowchart.snap.md @@ -61,9 +61,9 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 6 ---- 10 7 --- 11 7 x--> 14 diff --git a/rust/kcl-lib/tests/kcl_samples/wheel-hub/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/wheel-hub/artifact_graph_flowchart.snap.md index fa7751f5732..edbcf585a30 100644 --- a/rust/kcl-lib/tests/kcl_samples/wheel-hub/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/wheel-hub/artifact_graph_flowchart.snap.md @@ -563,12 +563,12 @@ flowchart LR 6 <--x 13 7 <--x 14 8 <--x 15 - 9 <--x 10 - 9 <--x 11 - 9 <--x 12 - 9 <--x 13 - 9 <--x 14 - 9 <--x 15 + 9 --- 10 + 9 --- 11 + 9 --- 12 + 9 --- 13 + 9 --- 14 + 9 --- 15 9 ---- 16 9 --- 60 10 --- 17 @@ -646,7 +646,7 @@ flowchart LR 38 <--x 40 182 --- 38 39 <--x 41 - 40 <--x 41 + 40 --- 41 40 ---- 42 40 --- 60 41 --- 43 @@ -668,7 +668,7 @@ flowchart LR 49 <--x 51 189 --- 49 50 <--x 52 - 51 <--x 52 + 51 --- 52 51 ---- 53 51 --- 59 51 --- 60 @@ -699,10 +699,10 @@ flowchart LR 64 <--x 69 65 <--x 70 66 <--x 71 - 67 <--x 68 - 67 <--x 69 - 67 <--x 70 - 67 <--x 71 + 67 --- 68 + 67 --- 69 + 67 --- 70 + 67 --- 71 67 ---- 72 67 --- 81 72 <--x 68 @@ -744,7 +744,7 @@ flowchart LR 83 <--x 86 217 --- 83 84 <--x 87 - 86 <--x 87 + 86 --- 87 86 ---- 88 86 --- 107 87 --- 89 @@ -769,7 +769,7 @@ flowchart LR 94 <--x 96 230 --- 94 95 <--x 97 - 96 <--x 97 + 96 --- 97 96 ---- 98 96 --- 104 96 --- 107 @@ -800,12 +800,12 @@ flowchart LR 112 <--x 119 113 <--x 120 114 <--x 121 - 115 <--x 116 - 115 <--x 117 - 115 <--x 118 - 115 <--x 119 - 115 <--x 120 - 115 <--x 121 + 115 --- 116 + 115 --- 117 + 115 --- 118 + 115 --- 119 + 115 --- 120 + 115 --- 121 115 ---- 122 115 --- 152 116 --- 123 @@ -886,7 +886,7 @@ flowchart LR 143 <--x 145 267 --- 143 144 <--x 146 - 145 <--x 146 + 145 --- 146 145 ---- 147 146 --- 148 146 --- 150 diff --git a/rust/kcl-lib/tests/kcl_samples/zoo-logo/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/zoo-logo/artifact_graph_flowchart.snap.md index 9f87c633d6a..102434f4cac 100644 --- a/rust/kcl-lib/tests/kcl_samples/zoo-logo/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/zoo-logo/artifact_graph_flowchart.snap.md @@ -739,22 +739,22 @@ flowchart LR 32 <--x 70 33 <--x 66 34 <--x 71 - 35 <--x 36 - 35 <--x 37 - 35 <--x 38 - 35 <--x 39 - 35 <--x 40 - 35 <--x 41 - 35 <--x 42 - 35 <--x 43 - 35 <--x 44 - 35 <--x 45 - 35 <--x 46 - 35 <--x 47 - 35 <--x 48 - 35 <--x 49 - 35 <--x 50 - 35 <--x 51 + 35 --- 36 + 35 --- 37 + 35 --- 38 + 35 --- 39 + 35 --- 40 + 35 --- 41 + 35 --- 42 + 35 --- 43 + 35 --- 44 + 35 --- 45 + 35 --- 46 + 35 --- 47 + 35 --- 48 + 35 --- 49 + 35 --- 50 + 35 --- 51 35 ---- 72 36 --- 77 36 x--> 89 @@ -820,10 +820,10 @@ flowchart LR 51 x--> 89 51 --- 97 51 --- 98 - 52 <--x 53 - 52 <--x 54 - 52 <--x 55 - 52 <--x 56 + 52 --- 53 + 52 --- 54 + 52 --- 55 + 52 --- 56 52 ---- 123 53 --- 124 53 x--> 128 @@ -841,10 +841,10 @@ flowchart LR 56 x--> 128 56 --- 136 56 --- 137 - 57 <--x 58 - 57 <--x 59 - 57 <--x 60 - 57 <--x 61 + 57 --- 58 + 57 --- 59 + 57 --- 60 + 57 --- 61 57 ---- 138 58 --- 139 58 x--> 143 @@ -862,10 +862,10 @@ flowchart LR 61 x--> 143 61 --- 151 61 --- 152 - 62 <--x 63 - 62 <--x 64 - 62 <--x 65 - 62 <--x 66 + 62 --- 63 + 62 --- 64 + 62 --- 65 + 62 --- 66 62 ---- 153 63 --- 154 63 x--> 158 @@ -883,10 +883,10 @@ flowchart LR 66 x--> 158 66 --- 166 66 --- 167 - 67 <--x 68 - 67 <--x 69 - 67 <--x 70 - 67 <--x 71 + 67 --- 68 + 67 --- 69 + 67 --- 70 + 67 --- 71 67 ---- 168 68 --- 169 68 x--> 173 diff --git a/rust/kcl-lib/tests/kcl_v2/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_v2/artifact_graph_flowchart.snap.md index f9573cfee2e..ba2fc53ab80 100644 --- a/rust/kcl-lib/tests/kcl_v2/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_v2/artifact_graph_flowchart.snap.md @@ -35,7 +35,7 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 ``` diff --git a/rust/kcl-lib/tests/loft_arc_subtract/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/loft_arc_subtract/artifact_graph_flowchart.snap.md index 8a61c87b3b5..c8c9f3e89e4 100644 --- a/rust/kcl-lib/tests/loft_arc_subtract/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/loft_arc_subtract/artifact_graph_flowchart.snap.md @@ -192,10 +192,10 @@ flowchart LR 8 --- 12 8 <--x 18 70 --- 8 - 13 <--x 14 - 13 <--x 15 - 13 <--x 16 - 13 <--x 17 + 13 --- 14 + 13 --- 15 + 13 --- 16 + 13 --- 17 13 ---- 23 14 --- 19 14 --- 24 @@ -213,6 +213,10 @@ flowchart LR 17 --- 27 17 x--> 28 17 --- 33 + 18 x--> 19 + 18 x--> 20 + 18 x--> 21 + 18 x--> 22 18 x---> 23 23 --- 19 19 --- 24 @@ -258,10 +262,10 @@ flowchart LR 37 <--x 42 38 <--x 43 39 <--x 44 - 40 <--x 41 - 40 <--x 42 - 40 <--x 43 - 40 <--x 44 + 40 --- 41 + 40 --- 42 + 40 --- 43 + 40 --- 44 40 ---- 45 40 --- 60 41 --- 46 diff --git a/rust/kcl-lib/tests/radius_circle_native/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/radius_circle_native/artifact_graph_flowchart.snap.md index 11d0598c232..5785a3806ae 100644 --- a/rust/kcl-lib/tests/radius_circle_native/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/radius_circle_native/artifact_graph_flowchart.snap.md @@ -35,7 +35,7 @@ flowchart LR 2 <--x 4 12 --- 2 3 <--x 5 - 4 <--x 5 + 4 --- 5 4 ---- 6 5 --- 7 5 x--> 8 diff --git a/rust/kcl-lib/tests/regression_test_hide_flatten_consumed/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/regression_test_hide_flatten_consumed/artifact_graph_flowchart.snap.md index d6a38552bbd..2a37bb43422 100644 --- a/rust/kcl-lib/tests/regression_test_hide_flatten_consumed/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/regression_test_hide_flatten_consumed/artifact_graph_flowchart.snap.md @@ -107,10 +107,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 38 8 --- 13 @@ -166,7 +166,7 @@ flowchart LR 28 <--x 30 48 --- 28 29 <--x 31 - 30 <--x 31 + 30 --- 31 30 ---- 32 30 --- 38 31 --- 33 diff --git a/rust/kcl-lib/tests/sketch_block_circle_constants/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_circle_constants/artifact_graph_flowchart.snap.md index 88284026334..bb7c70e78f9 100644 --- a/rust/kcl-lib/tests/sketch_block_circle_constants/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_circle_constants/artifact_graph_flowchart.snap.md @@ -57,7 +57,7 @@ flowchart LR 21 --- 2 3 <--x 6 4 <--x 14 - 5 <--x 6 + 5 --- 6 5 ---- 7 6 --- 8 6 x--> 9 @@ -71,7 +71,7 @@ flowchart LR 8 --- 11 8 --- 12 11 <--x 10 - 13 <--x 14 + 13 --- 14 13 ---- 15 14 --- 16 14 x--> 17 diff --git a/rust/kcl-lib/tests/sketch_block_get_common_edge_fillet/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_get_common_edge_fillet/artifact_graph_flowchart.snap.md index 60a99f85064..d3d320d8c16 100644 --- a/rust/kcl-lib/tests/sketch_block_get_common_edge_fillet/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_get_common_edge_fillet/artifact_graph_flowchart.snap.md @@ -73,10 +73,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 14 8 x--> 17 diff --git a/rust/kcl-lib/tests/sketch_block_region_from_point2d_in_triangle/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_region_from_point2d_in_triangle/artifact_graph_flowchart.snap.md index e54997ef2ed..919ece394df 100644 --- a/rust/kcl-lib/tests/sketch_block_region_from_point2d_in_triangle/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_region_from_point2d_in_triangle/artifact_graph_flowchart.snap.md @@ -45,7 +45,7 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 ``` diff --git a/rust/kcl-lib/tests/sketch_block_region_from_point_in_triangle/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_region_from_point_in_triangle/artifact_graph_flowchart.snap.md index 6fa9567554e..a490d9cf6ea 100644 --- a/rust/kcl-lib/tests/sketch_block_region_from_point_in_triangle/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_region_from_point_in_triangle/artifact_graph_flowchart.snap.md @@ -45,7 +45,7 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 ``` diff --git a/rust/kcl-lib/tests/sketch_block_region_triangle/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_region_triangle/artifact_graph_flowchart.snap.md index 150711c61c7..fe53c895b64 100644 --- a/rust/kcl-lib/tests/sketch_block_region_triangle/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_region_triangle/artifact_graph_flowchart.snap.md @@ -45,7 +45,7 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 ``` diff --git a/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_extrude/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_extrude/artifact_graph_flowchart.snap.md index 89b4608fa39..d7e64db6fa3 100644 --- a/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_extrude/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_extrude/artifact_graph_flowchart.snap.md @@ -63,10 +63,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 13 8 x--> 17 diff --git a/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_region/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_region/artifact_graph_flowchart.snap.md index abd632073b4..a6507fbbeb1 100644 --- a/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_region/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_block_tags_do_not_leak_to_parent_from_region/artifact_graph_flowchart.snap.md @@ -41,8 +41,8 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 ``` diff --git a/rust/kcl-lib/tests/sketch_on_face_loft_subtract/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_on_face_loft_subtract/artifact_graph_flowchart.snap.md index 408fd81b7a7..7472ff07bf6 100644 --- a/rust/kcl-lib/tests/sketch_on_face_loft_subtract/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_on_face_loft_subtract/artifact_graph_flowchart.snap.md @@ -247,10 +247,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 85 8 --- 13 @@ -312,10 +312,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 34 --- 39 34 x--> 43 @@ -385,10 +385,10 @@ flowchart LR 59 --- 63 59 <--x 69 113 --- 59 - 64 <--x 65 - 64 <--x 66 - 64 <--x 67 - 64 <--x 68 + 64 --- 65 + 64 --- 66 + 64 --- 67 + 64 --- 68 64 ---- 74 65 --- 70 65 --- 75 @@ -406,6 +406,10 @@ flowchart LR 68 --- 77 68 x--> 79 68 --- 83 + 69 x--> 70 + 69 x--> 71 + 69 x--> 72 + 69 x--> 73 69 x---> 74 74 --- 70 70 --- 75 diff --git a/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_many/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_many/artifact_graph_flowchart.snap.md index 232de4af48a..3310e8f9c3b 100644 --- a/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_many/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_many/artifact_graph_flowchart.snap.md @@ -130,10 +130,10 @@ flowchart LR 4 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 15 7 x--> 16 @@ -198,10 +198,10 @@ flowchart LR 28 <--x 33 29 <--x 34 30 <--x 35 - 31 <--x 32 - 31 <--x 33 - 31 <--x 34 - 31 <--x 35 + 31 --- 32 + 31 --- 33 + 31 --- 34 + 31 --- 35 31 ---- 36 32 --- 37 32 --- 42 diff --git a/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_one/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_one/artifact_graph_flowchart.snap.md index b15a2bae1a0..63f21712446 100644 --- a/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_one/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_on_face_of_region_extrude_one_to_one/artifact_graph_flowchart.snap.md @@ -131,9 +131,9 @@ flowchart LR 3 <--x 7 4 <--x 8 5 <--x 9 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 + 6 --- 7 + 6 --- 8 + 6 --- 9 6 ---- 10 7 --- 13 7 x--> 14 @@ -187,10 +187,10 @@ flowchart LR 24 <--x 29 25 <--x 30 26 <--x 31 - 27 <--x 28 - 27 <--x 29 - 27 <--x 30 - 27 <--x 31 + 27 --- 28 + 27 --- 29 + 27 --- 30 + 27 --- 31 27 ---- 32 28 --- 33 28 --- 38 diff --git a/rust/kcl-lib/tests/sketch_on_face_union/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sketch_on_face_union/artifact_graph_flowchart.snap.md index a78a4f7c83b..67fdf0a86ed 100644 --- a/rust/kcl-lib/tests/sketch_on_face_union/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sketch_on_face_union/artifact_graph_flowchart.snap.md @@ -41,44 +41,44 @@ flowchart LR %% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }] 20[Solid2d] end - subgraph path52 [Path] - 52["Path
[1084, 1133, 0]
Consumed: true"] + subgraph path64 [Path] + 64["Path
[1084, 1133, 0]
Consumed: true"] %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }] - 53["Segment
[1139, 1174, 0]"] + 65["Segment
[1139, 1174, 0]"] %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }] - 54["Segment
[1180, 1215, 0]"] + 66["Segment
[1180, 1215, 0]"] %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }] - 55["Segment
[1221, 1277, 0]"] + 67["Segment
[1221, 1277, 0]"] %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }] - 56["Segment
[1283, 1291, 0]"] + 68["Segment
[1283, 1291, 0]"] %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }] - 57[Solid2d] + 69[Solid2d] end - subgraph path73 [Path] - 73["Path
[1336, 1386, 0]
Consumed: true"] + subgraph path85 [Path] + 85["Path
[1336, 1386, 0]
Consumed: true"] %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }] - 74["Segment
[1392, 1428, 0]"] + 86["Segment
[1392, 1428, 0]"] %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }] - 75["Segment
[1434, 1469, 0]"] + 87["Segment
[1434, 1469, 0]"] %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }] - 76["Segment
[1475, 1531, 0]"] + 88["Segment
[1475, 1531, 0]"] %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }] - 77["Segment
[1537, 1545, 0]"] + 89["Segment
[1537, 1545, 0]"] %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }] - 78[Solid2d] + 90[Solid2d] end - subgraph path96 [Path] - 96["Path
[1699, 1740, 0]
Consumed: true"] + subgraph path108 [Path] + 108["Path
[1699, 1740, 0]
Consumed: true"] %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }] - 97["Segment
[1746, 1766, 0]"] + 109["Segment
[1746, 1766, 0]"] %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }] - 98["Segment
[1772, 1792, 0]"] + 110["Segment
[1772, 1792, 0]"] %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }] - 99["Segment
[1798, 1838, 0]"] + 111["Segment
[1798, 1838, 0]"] %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }] - 100["Segment
[1844, 1852, 0]"] + 112["Segment
[1844, 1852, 0]"] %% [ProgramBodyItem { index: 15 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }] - 101[Solid2d] + 113[Solid2d] end 1["Plane
[119, 136, 0]"] %% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit] @@ -102,14 +102,18 @@ flowchart LR %% face_code_ref=Missing NodePath 30[Wall] %% face_code_ref=Missing NodePath - 31["Cap Start"] + 31[Wall] %% face_code_ref=Missing NodePath - 32["Cap End"] + 32[Wall] + %% face_code_ref=Missing NodePath + 33[Wall] + %% face_code_ref=Missing NodePath + 34[Wall] + %% face_code_ref=Missing NodePath + 35["Cap Start"] + %% face_code_ref=Missing NodePath + 36["Cap End"] %% face_code_ref=Missing NodePath - 33["SweepEdge Opposite"] - 34["SweepEdge Adjacent"] - 35["SweepEdge Opposite"] - 36["SweepEdge Adjacent"] 37["SweepEdge Opposite"] 38["SweepEdge Adjacent"] 39["SweepEdge Opposite"] @@ -124,81 +128,93 @@ flowchart LR 48["SweepEdge Adjacent"] 49["SweepEdge Opposite"] 50["SweepEdge Adjacent"] - 51["Plane
[1041, 1069, 0]"] + 51["SweepEdge Opposite"] + 52["SweepEdge Adjacent"] + 53["SweepEdge Opposite"] + 54["SweepEdge Adjacent"] + 55["SweepEdge Opposite"] + 56["SweepEdge Adjacent"] + 57["SweepEdge Opposite"] + 58["SweepEdge Adjacent"] + 59["SweepEdge Opposite"] + 60["SweepEdge Adjacent"] + 61["SweepEdge Opposite"] + 62["SweepEdge Adjacent"] + 63["Plane
[1041, 1069, 0]"] %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, CallKwUnlabeledArg] - 58["Sweep Extrusion
[1297, 1321, 0]
Consumed: true"] + 70["Sweep Extrusion
[1297, 1321, 0]
Consumed: true"] %% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }] - 59[Wall] + 71[Wall] %% face_code_ref=Missing NodePath - 60[Wall] + 72[Wall] %% face_code_ref=Missing NodePath - 61[Wall] + 73[Wall] %% face_code_ref=Missing NodePath - 62[Wall] + 74[Wall] %% face_code_ref=Missing NodePath - 63["Cap Start"] + 75["Cap Start"] %% face_code_ref=Missing NodePath - 64["Cap End"] + 76["Cap End"] %% face_code_ref=Missing NodePath - 65["SweepEdge Opposite"] - 66["SweepEdge Adjacent"] - 67["SweepEdge Opposite"] - 68["SweepEdge Adjacent"] - 69["SweepEdge Opposite"] - 70["SweepEdge Adjacent"] - 71["SweepEdge Opposite"] - 72["SweepEdge Adjacent"] - 79["Sweep Extrusion
[1551, 1575, 0]
Consumed: true"] + 77["SweepEdge Opposite"] + 78["SweepEdge Adjacent"] + 79["SweepEdge Opposite"] + 80["SweepEdge Adjacent"] + 81["SweepEdge Opposite"] + 82["SweepEdge Adjacent"] + 83["SweepEdge Opposite"] + 84["SweepEdge Adjacent"] + 91["Sweep Extrusion
[1551, 1575, 0]
Consumed: true"] %% [ProgramBodyItem { index: 12 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }] - 80[Wall] + 92[Wall] %% face_code_ref=Missing NodePath - 81[Wall] + 93[Wall] %% face_code_ref=Missing NodePath - 82[Wall] + 94[Wall] %% face_code_ref=Missing NodePath - 83[Wall] + 95[Wall] %% face_code_ref=Missing NodePath - 84["Cap Start"] + 96["Cap Start"] %% face_code_ref=Missing NodePath - 85["Cap End"] + 97["Cap End"] %% face_code_ref=Missing NodePath - 86["SweepEdge Opposite"] - 87["SweepEdge Adjacent"] - 88["SweepEdge Opposite"] - 89["SweepEdge Adjacent"] - 90["SweepEdge Opposite"] - 91["SweepEdge Adjacent"] - 92["SweepEdge Opposite"] - 93["SweepEdge Adjacent"] - 94["CompositeSolid Union
[1589, 1609, 0]
Consumed: true"] + 98["SweepEdge Opposite"] + 99["SweepEdge Adjacent"] + 100["SweepEdge Opposite"] + 101["SweepEdge Adjacent"] + 102["SweepEdge Opposite"] + 103["SweepEdge Adjacent"] + 104["SweepEdge Opposite"] + 105["SweepEdge Adjacent"] + 106["CompositeSolid Union
[1589, 1609, 0]
Consumed: true"] %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, BinaryLeft] - 95["CompositeSolid Union
[1589, 1622, 0]
Consumed: false"] + 107["CompositeSolid Union
[1589, 1622, 0]
Consumed: false"] %% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit] - 102["Sweep Extrusion
[1863, 1898, 0]
Consumed: false"] + 114["Sweep Extrusion
[1863, 1898, 0]
Consumed: false"] %% [ProgramBodyItem { index: 16 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }] - 103[Wall] + 115[Wall] %% face_code_ref=Missing NodePath - 104[Wall] + 116[Wall] %% face_code_ref=Missing NodePath - 105[Wall] + 117[Wall] %% face_code_ref=Missing NodePath - 106[Wall] + 118[Wall] %% face_code_ref=Missing NodePath - 107["Cap Start"] + 119["Cap Start"] %% face_code_ref=Missing NodePath - 108["Cap End"] + 120["Cap End"] %% face_code_ref=Missing NodePath - 109["SweepEdge Opposite"] - 110["SweepEdge Adjacent"] - 111["SweepEdge Opposite"] - 112["SweepEdge Adjacent"] - 113["SweepEdge Opposite"] - 114["SweepEdge Adjacent"] - 115["SweepEdge Opposite"] - 116["SweepEdge Adjacent"] - 117["StartSketchOnPlane
[1027, 1070, 0]"] + 121["SweepEdge Opposite"] + 122["SweepEdge Adjacent"] + 123["SweepEdge Opposite"] + 124["SweepEdge Adjacent"] + 125["SweepEdge Opposite"] + 126["SweepEdge Adjacent"] + 127["SweepEdge Opposite"] + 128["SweepEdge Adjacent"] + 129["StartSketchOnPlane
[1027, 1070, 0]"] %% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit] - 118["StartSketchOnFace
[1639, 1682, 0]"] + 130["StartSketchOnFace
[1639, 1682, 0]"] %% [ProgramBodyItem { index: 14 }, VariableDeclarationDeclaration, VariableDeclarationInit] 1 --- 2 1 --- 9 @@ -212,58 +228,71 @@ flowchart LR 2 <--x 9 15 --- 2 2 ---- 21 - 2 --- 94 + 2 --- 106 3 --- 26 - 3 x--> 31 - 3 --- 41 - 3 --- 42 + 3 x--> 35 + 3 --- 45 + 3 --- 46 4 --- 25 - 4 x--> 31 - 4 --- 39 - 4 --- 40 + 4 x--> 35 + 4 --- 43 + 4 --- 44 5 --- 24 - 5 x--> 31 - 5 --- 37 - 5 --- 38 + 5 x--> 35 + 5 --- 41 + 5 --- 42 6 --- 23 - 6 x--> 31 - 6 --- 35 - 6 --- 36 + 6 x--> 35 + 6 --- 39 + 6 --- 40 7 --- 22 - 7 x--> 31 - 7 --- 33 - 7 --- 34 + 7 x--> 35 + 7 --- 37 + 7 --- 38 9 --- 10 9 --- 11 9 --- 12 9 --- 13 9 --- 14 - 10 x--> 31 - 11 x--> 31 - 12 x--> 31 - 13 x--> 31 + 9 x---> 21 + 10 --- 27 + 10 x--> 35 + 10 --- 47 + 10 --- 48 + 11 --- 28 + 11 x--> 35 + 11 --- 49 + 11 --- 50 + 12 --- 29 + 12 x--> 35 + 12 --- 51 + 12 --- 52 + 13 --- 30 + 13 x--> 35 + 13 --- 53 + 13 --- 54 15 --- 16 15 --- 17 15 --- 18 15 --- 19 15 --- 20 15 x---> 21 - 16 --- 30 - 16 x--> 31 - 16 --- 49 - 16 --- 50 - 17 --- 29 - 17 x--> 31 - 17 --- 47 - 17 --- 48 - 18 --- 28 - 18 x--> 31 - 18 --- 45 - 18 --- 46 - 19 --- 27 - 19 x--> 31 - 19 --- 43 - 19 --- 44 + 16 --- 34 + 16 x--> 35 + 16 --- 61 + 16 --- 62 + 17 --- 33 + 17 x--> 35 + 17 --- 59 + 17 --- 60 + 18 --- 32 + 18 x--> 35 + 18 --- 57 + 18 --- 58 + 19 --- 31 + 19 x--> 35 + 19 --- 55 + 19 --- 56 21 --- 22 21 --- 23 21 --- 24 @@ -293,204 +322,232 @@ flowchart LR 21 --- 48 21 --- 49 21 --- 50 - 22 --- 33 - 22 --- 34 - 36 <--x 22 - 23 --- 35 - 23 --- 36 - 38 <--x 23 - 24 --- 37 - 24 --- 38 - 40 <--x 24 - 25 --- 39 - 25 --- 40 - 42 <--x 25 - 34 <--x 26 - 26 --- 41 - 26 --- 42 - 26 --- 96 - 26 <--x 118 - 27 --- 43 - 27 --- 44 - 50 <--x 27 - 44 <--x 28 - 28 --- 45 - 28 --- 46 - 46 <--x 29 - 29 --- 47 - 29 --- 48 - 48 <--x 30 - 30 --- 49 - 30 --- 50 - 33 <--x 32 - 35 <--x 32 - 37 <--x 32 - 39 <--x 32 - 41 <--x 32 - 43 <--x 32 - 45 <--x 32 - 47 <--x 32 - 49 <--x 32 - 51 --- 52 - 51 --- 73 - 51 <--x 117 - 52 --- 53 - 52 --- 54 - 52 --- 55 - 52 --- 56 - 52 --- 57 - 52 ---- 58 - 52 --- 94 - 53 --- 62 - 53 x--> 63 - 53 --- 71 - 53 --- 72 - 54 --- 61 - 54 x--> 63 - 54 --- 69 - 54 --- 70 - 55 --- 60 - 55 x--> 63 - 55 --- 67 - 55 --- 68 - 56 --- 59 - 56 x--> 63 - 56 --- 65 - 56 --- 66 - 58 --- 59 - 58 --- 60 - 58 --- 61 - 58 --- 62 - 58 --- 63 - 58 --- 64 - 58 --- 65 - 58 --- 66 - 58 --- 67 - 58 --- 68 - 58 --- 69 - 58 --- 70 - 58 --- 71 - 58 --- 72 - 59 --- 65 - 59 --- 66 - 68 <--x 59 - 60 --- 67 - 60 --- 68 - 70 <--x 60 - 61 --- 69 - 61 --- 70 - 72 <--x 61 - 66 <--x 62 - 62 --- 71 - 62 --- 72 - 65 <--x 64 - 67 <--x 64 - 69 <--x 64 - 71 <--x 64 - 73 --- 74 - 73 --- 75 - 73 --- 76 - 73 --- 77 - 73 --- 78 - 73 ---- 79 - 73 --- 95 - 74 --- 80 - 74 x--> 84 - 74 --- 86 - 74 --- 87 - 75 --- 81 - 75 x--> 84 - 75 --- 88 - 75 --- 89 - 76 --- 82 - 76 x--> 84 - 76 --- 90 - 76 --- 91 - 77 --- 83 - 77 x--> 84 - 77 --- 92 - 77 --- 93 - 79 --- 80 - 79 --- 81 - 79 --- 82 - 79 --- 83 - 79 --- 84 - 79 --- 85 - 79 --- 86 - 79 --- 87 - 79 --- 88 - 79 --- 89 - 79 --- 90 - 79 --- 91 - 79 --- 92 - 79 --- 93 - 80 --- 86 - 80 --- 87 - 93 <--x 80 - 87 <--x 81 - 81 --- 88 - 81 --- 89 - 89 <--x 82 - 82 --- 90 - 82 --- 91 - 91 <--x 83 - 83 --- 92 - 83 --- 93 - 86 <--x 85 - 88 <--x 85 - 90 <--x 85 - 92 <--x 85 - 94 --- 95 - 96 --- 97 - 96 --- 98 - 96 --- 99 - 96 --- 100 - 96 --- 101 - 96 ---- 102 - 97 --- 103 - 97 x--> 107 - 97 --- 109 - 97 --- 110 - 98 --- 104 - 98 x--> 107 - 98 --- 111 - 98 --- 112 - 99 --- 105 - 99 x--> 107 - 99 --- 113 - 99 --- 114 - 100 --- 106 - 100 x--> 107 - 100 --- 115 - 100 --- 116 - 102 --- 103 - 102 --- 104 - 102 --- 105 - 102 --- 106 - 102 --- 107 - 102 --- 108 - 102 --- 109 - 102 --- 110 - 102 --- 111 - 102 --- 112 - 102 --- 113 - 102 --- 114 - 102 --- 115 - 102 --- 116 - 103 --- 109 - 103 --- 110 - 116 <--x 103 - 110 <--x 104 - 104 --- 111 - 104 --- 112 - 112 <--x 105 - 105 --- 113 - 105 --- 114 - 114 <--x 106 - 106 --- 115 - 106 --- 116 - 109 <--x 108 - 111 <--x 108 - 113 <--x 108 - 115 <--x 108 + 21 --- 51 + 21 --- 52 + 21 --- 53 + 21 --- 54 + 21 --- 55 + 21 --- 56 + 21 --- 57 + 21 --- 58 + 21 --- 59 + 21 --- 60 + 21 --- 61 + 21 --- 62 + 22 --- 37 + 22 --- 38 + 40 <--x 22 + 23 --- 39 + 23 --- 40 + 42 <--x 23 + 24 --- 41 + 24 --- 42 + 44 <--x 24 + 25 --- 43 + 25 --- 44 + 46 <--x 25 + 38 <--x 26 + 26 --- 45 + 26 --- 46 + 26 --- 108 + 26 <--x 130 + 27 --- 47 + 27 --- 48 + 54 <--x 27 + 48 <--x 28 + 28 --- 49 + 28 --- 50 + 50 <--x 29 + 29 --- 51 + 29 --- 52 + 52 <--x 30 + 30 --- 53 + 30 --- 54 + 31 --- 55 + 31 --- 56 + 62 <--x 31 + 56 <--x 32 + 32 --- 57 + 32 --- 58 + 58 <--x 33 + 33 --- 59 + 33 --- 60 + 60 <--x 34 + 34 --- 61 + 34 --- 62 + 37 <--x 36 + 39 <--x 36 + 41 <--x 36 + 43 <--x 36 + 45 <--x 36 + 47 <--x 36 + 49 <--x 36 + 51 <--x 36 + 53 <--x 36 + 55 <--x 36 + 57 <--x 36 + 59 <--x 36 + 61 <--x 36 + 63 --- 64 + 63 --- 85 + 63 <--x 129 + 64 --- 65 + 64 --- 66 + 64 --- 67 + 64 --- 68 + 64 --- 69 + 64 ---- 70 + 64 --- 106 + 65 --- 74 + 65 x--> 75 + 65 --- 83 + 65 --- 84 + 66 --- 73 + 66 x--> 75 + 66 --- 81 + 66 --- 82 + 67 --- 72 + 67 x--> 75 + 67 --- 79 + 67 --- 80 + 68 --- 71 + 68 x--> 75 + 68 --- 77 + 68 --- 78 + 70 --- 71 + 70 --- 72 + 70 --- 73 + 70 --- 74 + 70 --- 75 + 70 --- 76 + 70 --- 77 + 70 --- 78 + 70 --- 79 + 70 --- 80 + 70 --- 81 + 70 --- 82 + 70 --- 83 + 70 --- 84 + 71 --- 77 + 71 --- 78 + 80 <--x 71 + 72 --- 79 + 72 --- 80 + 82 <--x 72 + 73 --- 81 + 73 --- 82 + 84 <--x 73 + 78 <--x 74 + 74 --- 83 + 74 --- 84 + 77 <--x 76 + 79 <--x 76 + 81 <--x 76 + 83 <--x 76 + 85 --- 86 + 85 --- 87 + 85 --- 88 + 85 --- 89 + 85 --- 90 + 85 ---- 91 + 85 --- 107 + 86 --- 92 + 86 x--> 96 + 86 --- 98 + 86 --- 99 + 87 --- 93 + 87 x--> 96 + 87 --- 100 + 87 --- 101 + 88 --- 94 + 88 x--> 96 + 88 --- 102 + 88 --- 103 + 89 --- 95 + 89 x--> 96 + 89 --- 104 + 89 --- 105 + 91 --- 92 + 91 --- 93 + 91 --- 94 + 91 --- 95 + 91 --- 96 + 91 --- 97 + 91 --- 98 + 91 --- 99 + 91 --- 100 + 91 --- 101 + 91 --- 102 + 91 --- 103 + 91 --- 104 + 91 --- 105 + 92 --- 98 + 92 --- 99 + 105 <--x 92 + 99 <--x 93 + 93 --- 100 + 93 --- 101 + 101 <--x 94 + 94 --- 102 + 94 --- 103 + 103 <--x 95 + 95 --- 104 + 95 --- 105 + 98 <--x 97 + 100 <--x 97 + 102 <--x 97 + 104 <--x 97 + 106 --- 107 + 108 --- 109 + 108 --- 110 + 108 --- 111 + 108 --- 112 + 108 --- 113 + 108 ---- 114 + 109 --- 115 + 109 x--> 119 + 109 --- 121 + 109 --- 122 + 110 --- 116 + 110 x--> 119 + 110 --- 123 + 110 --- 124 + 111 --- 117 + 111 x--> 119 + 111 --- 125 + 111 --- 126 + 112 --- 118 + 112 x--> 119 + 112 --- 127 + 112 --- 128 + 114 --- 115 + 114 --- 116 + 114 --- 117 + 114 --- 118 + 114 --- 119 + 114 --- 120 + 114 --- 121 + 114 --- 122 + 114 --- 123 + 114 --- 124 + 114 --- 125 + 114 --- 126 + 114 --- 127 + 114 --- 128 + 115 --- 121 + 115 --- 122 + 128 <--x 115 + 122 <--x 116 + 116 --- 123 + 116 --- 124 + 124 <--x 117 + 117 --- 125 + 117 --- 126 + 126 <--x 118 + 118 --- 127 + 118 --- 128 + 121 <--x 120 + 123 <--x 120 + 125 <--x 120 + 127 <--x 120 ``` diff --git a/rust/kcl-lib/tests/solid_edge_cut_using_edge_ref_csg/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/solid_edge_cut_using_edge_ref_csg/artifact_graph_flowchart.snap.md index 31b6c6c20c3..539712a943a 100644 --- a/rust/kcl-lib/tests/solid_edge_cut_using_edge_ref_csg/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/solid_edge_cut_using_edge_ref_csg/artifact_graph_flowchart.snap.md @@ -131,10 +131,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 7 --- 53 8 --- 13 @@ -196,10 +196,10 @@ flowchart LR 30 <--x 35 31 <--x 36 32 <--x 37 - 33 <--x 34 - 33 <--x 35 - 33 <--x 36 - 33 <--x 37 + 33 --- 34 + 33 --- 35 + 33 --- 36 + 33 --- 37 33 ---- 38 33 --- 53 34 --- 39 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_bidirectional/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_bidirectional/artifact_graph_flowchart.snap.md index b0ab067673a..39aacd1362d 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_bidirectional/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_bidirectional/artifact_graph_flowchart.snap.md @@ -62,10 +62,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 14 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_direction/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_direction/artifact_graph_flowchart.snap.md index 9e32c616f3e..6bf7023daf6 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_direction/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_direction/artifact_graph_flowchart.snap.md @@ -62,10 +62,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 14 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_from_solid/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_from_solid/artifact_graph_flowchart.snap.md index 516b18f0696..c71ee36fea0 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_from_solid/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_from_solid/artifact_graph_flowchart.snap.md @@ -66,10 +66,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 16 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_from_surface/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_from_surface/artifact_graph_flowchart.snap.md index 15f5e9a73a7..32769976292 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_from_surface/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_from_surface/artifact_graph_flowchart.snap.md @@ -62,10 +62,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 14 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_merge_error/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_merge_error/artifact_graph_flowchart.snap.md index 83e1ffb7d60..bd893283feb 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_merge_error/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_merge_error/artifact_graph_flowchart.snap.md @@ -60,10 +60,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 14 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_symmetric/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_symmetric/artifact_graph_flowchart.snap.md index 7bf79cffb2f..74c14750954 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_symmetric/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_symmetric/artifact_graph_flowchart.snap.md @@ -62,10 +62,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 14 diff --git a/rust/kcl-lib/tests/surface_extrude_edge_to/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/surface_extrude_edge_to/artifact_graph_flowchart.snap.md index 7ea365aa089..589df60666a 100644 --- a/rust/kcl-lib/tests/surface_extrude_edge_to/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/surface_extrude_edge_to/artifact_graph_flowchart.snap.md @@ -64,10 +64,10 @@ flowchart LR 3 <--x 8 4 <--x 9 5 <--x 10 - 6 <--x 7 - 6 <--x 8 - 6 <--x 9 - 6 <--x 10 + 6 --- 7 + 6 --- 8 + 6 --- 9 + 6 --- 10 6 ---- 11 7 --- 13 7 x--> 14 diff --git a/rust/kcl-lib/tests/sweep_mirror/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/sweep_mirror/artifact_graph_flowchart.snap.md index d3da2df0abe..33349189cf3 100644 --- a/rust/kcl-lib/tests/sweep_mirror/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/sweep_mirror/artifact_graph_flowchart.snap.md @@ -131,10 +131,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 19 7 <---x 35 8 --- 20 diff --git a/rust/kcl-lib/tests/truss_bridge/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/truss_bridge/artifact_graph_flowchart.snap.md index b49585b8bdc..59349f7015b 100644 --- a/rust/kcl-lib/tests/truss_bridge/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/truss_bridge/artifact_graph_flowchart.snap.md @@ -3502,22 +3502,22 @@ flowchart LR 29 <--x 46 30 <--x 47 31 <--x 48 - 32 <--x 33 - 32 <--x 34 - 32 <--x 35 - 32 <--x 36 - 32 <--x 37 - 32 <--x 38 - 32 <--x 39 - 32 <--x 40 - 32 <--x 41 - 32 <--x 42 - 32 <--x 43 - 32 <--x 44 - 32 <--x 45 - 32 <--x 46 - 32 <--x 47 - 32 <--x 48 + 32 --- 33 + 32 --- 34 + 32 --- 35 + 32 --- 36 + 32 --- 37 + 32 --- 38 + 32 --- 39 + 32 --- 40 + 32 --- 41 + 32 --- 42 + 32 --- 43 + 32 --- 44 + 32 --- 45 + 32 --- 46 + 32 --- 47 + 32 --- 48 32 ---- 51 33 --- 67 33 x--> 69 @@ -3736,22 +3736,22 @@ flowchart LR 117 <--x 134 118 <--x 135 119 <--x 136 - 120 <--x 121 - 120 <--x 122 - 120 <--x 123 - 120 <--x 124 - 120 <--x 125 - 120 <--x 126 - 120 <--x 127 - 120 <--x 128 - 120 <--x 129 - 120 <--x 130 - 120 <--x 131 - 120 <--x 132 - 120 <--x 133 - 120 <--x 134 - 120 <--x 135 - 120 <--x 136 + 120 --- 121 + 120 --- 122 + 120 --- 123 + 120 --- 124 + 120 --- 125 + 120 --- 126 + 120 --- 127 + 120 --- 128 + 120 --- 129 + 120 --- 130 + 120 --- 131 + 120 --- 132 + 120 --- 133 + 120 --- 134 + 120 --- 135 + 120 --- 136 120 ---- 139 121 --- 155 121 x--> 157 @@ -3970,22 +3970,22 @@ flowchart LR 205 <--x 222 206 <--x 223 207 <--x 224 - 208 <--x 209 - 208 <--x 210 - 208 <--x 211 - 208 <--x 212 - 208 <--x 213 - 208 <--x 214 - 208 <--x 215 - 208 <--x 216 - 208 <--x 217 - 208 <--x 218 - 208 <--x 219 - 208 <--x 220 - 208 <--x 221 - 208 <--x 222 - 208 <--x 223 - 208 <--x 224 + 208 --- 209 + 208 --- 210 + 208 --- 211 + 208 --- 212 + 208 --- 213 + 208 --- 214 + 208 --- 215 + 208 --- 216 + 208 --- 217 + 208 --- 218 + 208 --- 219 + 208 --- 220 + 208 --- 221 + 208 --- 222 + 208 --- 223 + 208 --- 224 208 ---- 227 209 --- 243 209 x--> 245 @@ -4204,22 +4204,22 @@ flowchart LR 293 <--x 310 294 <--x 311 295 <--x 312 - 296 <--x 297 - 296 <--x 298 - 296 <--x 299 - 296 <--x 300 - 296 <--x 301 - 296 <--x 302 - 296 <--x 303 - 296 <--x 304 - 296 <--x 305 - 296 <--x 306 - 296 <--x 307 - 296 <--x 308 - 296 <--x 309 - 296 <--x 310 - 296 <--x 311 - 296 <--x 312 + 296 --- 297 + 296 --- 298 + 296 --- 299 + 296 --- 300 + 296 --- 301 + 296 --- 302 + 296 --- 303 + 296 --- 304 + 296 --- 305 + 296 --- 306 + 296 --- 307 + 296 --- 308 + 296 --- 309 + 296 --- 310 + 296 --- 311 + 296 --- 312 296 ---- 315 297 --- 331 297 x--> 333 @@ -4438,22 +4438,22 @@ flowchart LR 381 <--x 398 382 <--x 399 383 <--x 400 - 384 <--x 385 - 384 <--x 386 - 384 <--x 387 - 384 <--x 388 - 384 <--x 389 - 384 <--x 390 - 384 <--x 391 - 384 <--x 392 - 384 <--x 393 - 384 <--x 394 - 384 <--x 395 - 384 <--x 396 - 384 <--x 397 - 384 <--x 398 - 384 <--x 399 - 384 <--x 400 + 384 --- 385 + 384 --- 386 + 384 --- 387 + 384 --- 388 + 384 --- 389 + 384 --- 390 + 384 --- 391 + 384 --- 392 + 384 --- 393 + 384 --- 394 + 384 --- 395 + 384 --- 396 + 384 --- 397 + 384 --- 398 + 384 --- 399 + 384 --- 400 384 ---- 403 385 --- 419 385 x--> 421 @@ -4672,22 +4672,22 @@ flowchart LR 469 <--x 486 470 <--x 487 471 <--x 488 - 472 <--x 473 - 472 <--x 474 - 472 <--x 475 - 472 <--x 476 - 472 <--x 477 - 472 <--x 478 - 472 <--x 479 - 472 <--x 480 - 472 <--x 481 - 472 <--x 482 - 472 <--x 483 - 472 <--x 484 - 472 <--x 485 - 472 <--x 486 - 472 <--x 487 - 472 <--x 488 + 472 --- 473 + 472 --- 474 + 472 --- 475 + 472 --- 476 + 472 --- 477 + 472 --- 478 + 472 --- 479 + 472 --- 480 + 472 --- 481 + 472 --- 482 + 472 --- 483 + 472 --- 484 + 472 --- 485 + 472 --- 486 + 472 --- 487 + 472 --- 488 472 ---- 491 473 --- 507 473 x--> 509 @@ -4906,22 +4906,22 @@ flowchart LR 557 <--x 574 558 <--x 575 559 <--x 576 - 560 <--x 561 - 560 <--x 562 - 560 <--x 563 - 560 <--x 564 - 560 <--x 565 - 560 <--x 566 - 560 <--x 567 - 560 <--x 568 - 560 <--x 569 - 560 <--x 570 - 560 <--x 571 - 560 <--x 572 - 560 <--x 573 - 560 <--x 574 - 560 <--x 575 - 560 <--x 576 + 560 --- 561 + 560 --- 562 + 560 --- 563 + 560 --- 564 + 560 --- 565 + 560 --- 566 + 560 --- 567 + 560 --- 568 + 560 --- 569 + 560 --- 570 + 560 --- 571 + 560 --- 572 + 560 --- 573 + 560 --- 574 + 560 --- 575 + 560 --- 576 560 ---- 579 561 --- 589 561 x--> 597 @@ -5140,22 +5140,22 @@ flowchart LR 645 <--x 662 646 <--x 663 647 <--x 664 - 648 <--x 649 - 648 <--x 650 - 648 <--x 651 - 648 <--x 652 - 648 <--x 653 - 648 <--x 654 - 648 <--x 655 - 648 <--x 656 - 648 <--x 657 - 648 <--x 658 - 648 <--x 659 - 648 <--x 660 - 648 <--x 661 - 648 <--x 662 - 648 <--x 663 - 648 <--x 664 + 648 --- 649 + 648 --- 650 + 648 --- 651 + 648 --- 652 + 648 --- 653 + 648 --- 654 + 648 --- 655 + 648 --- 656 + 648 --- 657 + 648 --- 658 + 648 --- 659 + 648 --- 660 + 648 --- 661 + 648 --- 662 + 648 --- 663 + 648 --- 664 648 ---- 667 649 --- 669 649 x--> 685 @@ -5374,22 +5374,22 @@ flowchart LR 733 <--x 750 734 <--x 751 735 <--x 752 - 736 <--x 737 - 736 <--x 738 - 736 <--x 739 - 736 <--x 740 - 736 <--x 741 - 736 <--x 742 - 736 <--x 743 - 736 <--x 744 - 736 <--x 745 - 736 <--x 746 - 736 <--x 747 - 736 <--x 748 - 736 <--x 749 - 736 <--x 750 - 736 <--x 751 - 736 <--x 752 + 736 --- 737 + 736 --- 738 + 736 --- 739 + 736 --- 740 + 736 --- 741 + 736 --- 742 + 736 --- 743 + 736 --- 744 + 736 --- 745 + 736 --- 746 + 736 --- 747 + 736 --- 748 + 736 --- 749 + 736 --- 750 + 736 --- 751 + 736 --- 752 736 ---- 755 737 --- 756 737 x--> 773 @@ -5608,22 +5608,22 @@ flowchart LR 821 <--x 838 822 <--x 839 823 <--x 840 - 824 <--x 825 - 824 <--x 826 - 824 <--x 827 - 824 <--x 828 - 824 <--x 829 - 824 <--x 830 - 824 <--x 831 - 824 <--x 832 - 824 <--x 833 - 824 <--x 834 - 824 <--x 835 - 824 <--x 836 - 824 <--x 837 - 824 <--x 838 - 824 <--x 839 - 824 <--x 840 + 824 --- 825 + 824 --- 826 + 824 --- 827 + 824 --- 828 + 824 --- 829 + 824 --- 830 + 824 --- 831 + 824 --- 832 + 824 --- 833 + 824 --- 834 + 824 --- 835 + 824 --- 836 + 824 --- 837 + 824 --- 838 + 824 --- 839 + 824 --- 840 824 ---- 843 825 --- 844 825 x--> 861 @@ -5842,22 +5842,22 @@ flowchart LR 909 <--x 926 910 <--x 927 911 <--x 928 - 912 <--x 913 - 912 <--x 914 - 912 <--x 915 - 912 <--x 916 - 912 <--x 917 - 912 <--x 918 - 912 <--x 919 - 912 <--x 920 - 912 <--x 921 - 912 <--x 922 - 912 <--x 923 - 912 <--x 924 - 912 <--x 925 - 912 <--x 926 - 912 <--x 927 - 912 <--x 928 + 912 --- 913 + 912 --- 914 + 912 --- 915 + 912 --- 916 + 912 --- 917 + 912 --- 918 + 912 --- 919 + 912 --- 920 + 912 --- 921 + 912 --- 922 + 912 --- 923 + 912 --- 924 + 912 --- 925 + 912 --- 926 + 912 --- 927 + 912 --- 928 912 ---- 931 913 --- 932 913 x--> 949 diff --git a/rust/kcl-lib/tests/zds_extrude_fillet_top_edge/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/zds_extrude_fillet_top_edge/artifact_graph_flowchart.snap.md index 5f7efbc9079..a342dd88a45 100644 --- a/rust/kcl-lib/tests/zds_extrude_fillet_top_edge/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/zds_extrude_fillet_top_edge/artifact_graph_flowchart.snap.md @@ -81,10 +81,10 @@ flowchart LR 4 <--x 9 5 <--x 10 6 <--x 11 - 7 <--x 8 - 7 <--x 9 - 7 <--x 10 - 7 <--x 11 + 7 --- 8 + 7 --- 9 + 7 --- 10 + 7 --- 11 7 ---- 12 8 --- 16 8 x--> 17 diff --git a/src/lang/std/artifactGraph.test.ts b/src/lang/std/artifactGraph.test.ts index f28811877cb..ab5b99748cd 100644 --- a/src/lang/std/artifactGraph.test.ts +++ b/src/lang/std/artifactGraph.test.ts @@ -2,6 +2,7 @@ import { type Artifact, coerceSelectionsToBody, getBodiesFromArtifactGraph, + getCommonFacesForEdge, getSketchBlockForArtifact, getSweepArtifactFromSelection, isFaceFromLegacySketch, @@ -10,6 +11,62 @@ import type { ArtifactGraph, PathToNode } from '@src/lang/wasm' import type { Selection, Selections } from '@src/machines/modelingSharedTypes' import { describe, expect, it } from 'vitest' +const codeRef = { + range: [0, 0, 0] as [number, number, number], + pathToNode: [], + nodePath: { steps: [] }, +} + +function addArtifacts(artifactGraph: ArtifactGraph, artifacts: Artifact[]) { + for (const artifact of artifacts) { + artifactGraph.set(artifact.id, artifact) + } +} + +function pathArtifact( + overrides: Partial> & + Pick, 'id'> +): Extract { + return { + type: 'path', + subType: 'region', + codeRef, + planeId: 'plane-1', + segIds: [], + trajectorySweepId: null, + consumed: true, + ...overrides, + } +} + +function segmentArtifact( + overrides: Partial> & + Pick, 'id' | 'pathId'> +): Extract { + return { + type: 'segment', + edgeIds: [], + commonSurfaceIds: [], + codeRef, + ...overrides, + } +} + +function sweepArtifact(pathId: string): Extract { + return { + type: 'sweep', + id: 'sweep-1', + codeRef, + pathId, + subType: 'extrusion', + surfaceIds: [], + edgeIds: [], + method: 'merge', + trajectoryId: null, + consumed: false, + } +} + describe('getSweepArtifactFromSelection', () => { it('should return sweep from edgeCut -> segment selection', () => { const artifactGraph: ArtifactGraph = new Map() @@ -150,6 +207,135 @@ describe('getSweepArtifactFromSelection', () => { expect(result.id).toBe('sweep-1') } }) + + it('should return sweep from segment on inner region path', () => { + const artifactGraph: ArtifactGraph = new Map() + const segment = segmentArtifact({ + id: 'inner-segment', + pathId: 'inner-path', + }) + addArtifacts(artifactGraph, [ + pathArtifact({ + id: 'outer-path', + segIds: ['outer-segment'], + sweepId: 'sweep-1', + innerPathId: 'inner-path', + }), + pathArtifact({ + id: 'inner-path', + segIds: ['inner-segment'], + outerPathId: 'outer-path', + }), + sweepArtifact('outer-path'), + segment, + ]) + + const selection: Selection = { + artifact: segment, + codeRef: { range: [0, 0, 0], pathToNode: [] }, + } + + const result = getSweepArtifactFromSelection(selection, artifactGraph) + + expect(result).not.toBeInstanceOf(Error) + if (!(result instanceof Error)) { + expect(result.id).toBe('sweep-1') + } + }) + + it('should return sweep from source segment mapped to an inner region path segment', () => { + const artifactGraph: ArtifactGraph = new Map() + const sourceSegment = segmentArtifact({ + id: 'source-segment', + pathId: 'source-path', + }) + addArtifacts(artifactGraph, [ + pathArtifact({ + id: 'source-path', + subType: 'sketch', + segIds: ['source-segment'], + }), + sourceSegment, + pathArtifact({ + id: 'outer-path', + segIds: ['outer-segment'], + sweepId: 'sweep-1', + originPathId: 'source-path', + innerPathId: 'inner-path', + }), + pathArtifact({ + id: 'inner-path', + segIds: ['inner-segment'], + originPathId: 'source-path', + outerPathId: 'outer-path', + }), + sweepArtifact('outer-path'), + segmentArtifact({ + id: 'inner-segment', + pathId: 'inner-path', + originalSegId: 'source-segment', + }), + ]) + + const result = getSweepArtifactFromSelection( + { + artifact: sourceSegment, + codeRef: { range: [0, 0, 0], pathToNode: [] }, + }, + artifactGraph + ) + + expect(result).not.toBeInstanceOf(Error) + if (!(result instanceof Error)) { + expect(result.id).toBe('sweep-1') + } + }) +}) + +describe('getCommonFacesForEdge', () => { + it('should return common faces from a generated region segment mapped to a source segment', () => { + const artifactGraph: ArtifactGraph = new Map() + const sourceSegment = segmentArtifact({ + id: 'source-segment', + pathId: 'source-path', + }) + addArtifacts(artifactGraph, [ + sourceSegment, + segmentArtifact({ + id: 'inner-segment', + pathId: 'inner-path', + originalSegId: 'source-segment', + commonSurfaceIds: ['wall-1', 'cap-1'], + }), + { + type: 'wall', + id: 'wall-1', + segId: 'inner-segment', + sweepId: 'sweep-1', + pathIds: [], + edgeCutEdgeIds: [], + cmdId: 'cmd-1', + faceCodeRef: codeRef, + }, + { + type: 'cap', + id: 'cap-1', + subType: 'end', + sweepId: 'sweep-1', + pathIds: [], + edgeCutEdgeIds: [], + cmdId: 'cmd-1', + faceCodeRef: codeRef, + }, + ]) + + const result = getCommonFacesForEdge(sourceSegment, artifactGraph) + + expect(result).not.toBeInstanceOf(Error) + if (!(result instanceof Error)) { + expect(result.map(({ id }) => id).sort()).toEqual(['cap-1', 'wall-1']) + } + }) }) describe('coerceSelectionsToBody', () => { diff --git a/src/lang/std/artifactGraph.ts b/src/lang/std/artifactGraph.ts index 69b0df74864..fc8531444fd 100644 --- a/src/lang/std/artifactGraph.ts +++ b/src/lang/std/artifactGraph.ts @@ -33,6 +33,10 @@ import type { Selection, Selections } from '@src/machines/modelingSharedTypes' export type { Artifact, ArtifactId, SegmentArtifact } from '@src/lang/wasm' +type SegmentArtifactWithType = Extract +type SweepArtifactWithType = Extract +type SweepEdgeWithType = Extract + export function defaultArtifactGraph(): ArtifactGraph { return new Map() } @@ -137,6 +141,59 @@ export function getArtifactOfTypes( return artifact as Extract } +function getSweepFromPath( + path: PathArtifact, + artifactGraph: ArtifactGraph +): SweepArtifactWithType | Error { + if (path.sweepId) { + return getArtifactOfTypes( + { key: path.sweepId, types: ['sweep'] }, + artifactGraph + ) + } + + if (path.outerPathId) { + const outerPath = getArtifactOfTypes( + { key: path.outerPathId, types: ['path'] }, + artifactGraph + ) + if (err(outerPath)) return outerPath + return getSweepFromPath(outerPath, artifactGraph) + } + + return new Error('Path does not have a sweepId') +} + +function getMappedRegionSegments( + segment: SegmentArtifact, + artifactGraph: ArtifactGraph +): SegmentArtifactWithType[] { + return [...artifactGraph.values()].filter( + (artifact): artifact is SegmentArtifactWithType => + artifact.type === 'segment' && + artifact.originalSegId === segment.id && + artifact.id !== segment.id + ) +} + +function getSweepFromMappedRegionSegment( + segment: SegmentArtifact, + artifactGraph: ArtifactGraph +): SweepArtifactWithType | Error { + for (const mappedSegment of getMappedRegionSegments(segment, artifactGraph)) { + const path = getArtifactOfTypes( + { key: mappedSegment.pathId, types: ['path'] }, + artifactGraph + ) + if (path instanceof Error) continue + + const sweep = getSweepFromPath(path, artifactGraph) + if (!(sweep instanceof Error)) return sweep + } + + return new Error('Path does not have a sweepId') +} + export function getPatternArtifactForCopyId( id: ArtifactId, artifactGraph: ArtifactGraph @@ -333,11 +390,7 @@ export function getSweepFromSuspectedSweepSurface( artifactGraph ) if (err(path)) return path - if (!path.sweepId) return new Error('Path does not have a sweepId') - return getArtifactOfTypes( - { key: path.sweepId, types: ['sweep'] }, - artifactGraph - ) + return getSweepFromPath(path, artifactGraph) } return getArtifactOfTypes( { key: segOrEdge.sweepId, types: ['sweep'] }, @@ -346,23 +399,31 @@ export function getSweepFromSuspectedSweepSurface( } export function getCommonFacesForEdge( - artifact: SweepEdge | SegmentArtifact, + artifact: SweepEdgeWithType | SegmentArtifactWithType, artifactGraph: ArtifactGraph ): Extract[] | Error { - const faces = getArtifactsOfTypes( - { keys: artifact.commonSurfaceIds, types: ['wall', 'cap'] }, - artifactGraph - ) - if (err(faces)) return faces - if (faces.size === 0) return new Error('No common face found') - return [...faces.values()] + const edgeArtifacts = + artifact.type === 'segment' + ? [artifact, ...getMappedRegionSegments(artifact, artifactGraph)] + : [artifact] + + for (const edgeArtifact of edgeArtifacts) { + const faces = getArtifactsOfTypes( + { keys: edgeArtifact.commonSurfaceIds, types: ['wall', 'cap'] }, + artifactGraph + ) + if (err(faces)) return faces + if (faces.size > 0) return [...faces.values()] + } + + return new Error('No common face found') } export function getSweepArtifactFromSelection( selection: Selection, artifactGraph: ArtifactGraph ): SweepArtifact | Error { - let sweepArtifact: Artifact | null = null + let sweepArtifact: SweepArtifactWithType | null = null if (selection.artifact?.type === 'sweepEdge') { const _artifact = getArtifactOfTypes( { key: selection.artifact.sweepId, types: ['sweep'] }, @@ -376,13 +437,17 @@ export function getSweepArtifactFromSelection( artifactGraph ) if (err(_pathArtifact)) return _pathArtifact - if (!_pathArtifact.sweepId) return new Error('Path does not have a sweepId') - const _artifact = getArtifactOfTypes( - { key: _pathArtifact.sweepId, types: ['sweep'] }, - artifactGraph - ) - if (err(_artifact)) return _artifact - sweepArtifact = _artifact + const _artifact = getSweepFromPath(_pathArtifact, artifactGraph) + if (_artifact instanceof Error) { + const mappedSweep = getSweepFromMappedRegionSegment( + selection.artifact, + artifactGraph + ) + if (mappedSweep instanceof Error) return _artifact + sweepArtifact = mappedSweep + } else { + sweepArtifact = _artifact + } } else if ( selection.artifact?.type === 'cap' || selection.artifact?.type === 'wall'