@@ -21,6 +21,9 @@ test("example04", async () => {
2121 name="C1"
2222 schX={-3}
2323 pcbX={-3}
24+ connections={{
25+ "pin1": "net.TEST1",
26+ }}
2427 />
2528 <trace from=".R1 > .pin1" to=".C1 > .pin2" />
2629 </board>
@@ -50,6 +53,19 @@ test("example04", async () => {
5053 },
5154 "kind": "floating",
5255 },
56+ {
57+ "boxAttributes": {
58+ "is_net_label": true,
59+ "source_net_id": "source_net_0",
60+ "source_trace_id": undefined,
61+ },
62+ "boxId": "schematic_net_label_0",
63+ "center": {
64+ "x": -4.0012093,
65+ "y": -0.00027334999999961695,
66+ },
67+ "kind": "fixed",
68+ },
5369 ],
5470 "pins": [
5571 {
@@ -65,7 +81,7 @@ test("example04", async () => {
6581 {
6682 "boxId": "schematic_component_0",
6783 "color": "normal",
68- "networkId": "unnamedsubcircuit31_connectivity_net0 ",
84+ "networkId": "unnamedsubcircuit31_connectivity_net1 ",
6985 "offset": {
7086 "x": -0.5512907,
7187 "y": 0.0002732499999993365,
@@ -94,8 +110,8 @@ test("example04", async () => {
94110 },
95111 {
96112 "boxId": "schematic_component_1",
97- "color": "not_connected ",
98- "networkId": "disconnected-1 ",
113+ "color": "normal ",
114+ "networkId": "unnamedsubcircuit31_connectivity_net0 ",
99115 "offset": {
100116 "x": -0.5512093000000005,
101117 "y": -0.00027334999999961695,
@@ -105,13 +121,33 @@ test("example04", async () => {
105121 {
106122 "boxId": "schematic_component_1",
107123 "color": "normal",
108- "networkId": "unnamedsubcircuit31_connectivity_net0 ",
124+ "networkId": "unnamedsubcircuit31_connectivity_net1 ",
109125 "offset": {
110126 "x": 0.5512093,
111127 "y": 0.00027334999999961695,
112128 },
113129 "pinId": "schematic_port_3",
114130 },
131+ {
132+ "boxId": "schematic_net_label_0",
133+ "color": "normal",
134+ "networkId": "unnamedsubcircuit31_connectivity_net0",
135+ "offset": {
136+ "x": 0.44999999999999973,
137+ "y": 0,
138+ },
139+ "pinId": "schematic_net_label_0_pin",
140+ },
141+ {
142+ "boxId": "schematic_net_label_0",
143+ "color": "netlabel_center",
144+ "networkId": "schematic_net_label_0_center",
145+ "offset": {
146+ "x": 0,
147+ "y": 0,
148+ },
149+ "pinId": "schematic_net_label_0_center",
150+ },
115151 ],
116152 }
117153 ` )
0 commit comments