I found the mistake. Instead of `exposeNets` boolean, I was using `exposedNets` string[]. Now I can connect subcircuits with each other. Still schematic view is buggy.
In the code, there is a connection between lvps.SEC_GND and mcu.GND. But it is not rendering properly.
```
{/* Power: LVPS 3.3V to MCU 3.3V */}
<trace name="t_v3v3_link" path={[".lvps > .VOUT_3V3", ".mcu > .3V3"]} />
<trace name="t_gnd_link" path={[".lvps > .SEC_GND", ".mcu > .GND"]} />
```
Also the ports are assigned with name <subcircuit_name>_connectivity_net<number>
Yea that is awful- cc <@1079361271687807026> (we must never manipulate names!)
M
Mustafa7
<@757706909351411845> isnt this repro https://github.com/tscircuit/core/pull/2735/files same as above circuit? you meant to fix the connectivity net names leaking right?
M
Mustafa7
The fix is the remove those netlabels right?https://github.com/tscircuit/core/pull/2738
Can you please clarify
Seve
The visual snapshot needs explatory text
Seve
Assume the viewer cant see the test code- because you repro’d separately i literally cannot
Seve
It is impossible to review!!!! I have no idea what im seeing!!
M
Mustafa7
i'll create a separate repro and tag you
Seve
If i expand test content i can see the code
Seve
But the visual snapshot needs explanatory text IN the schematic snapshot
Seve
So it is possible to review if i expand code on github
M
Mustafa7
https://github.com/tscircuit/core/pull/2742
M
Mustafa7
Closing as i think the behaviour might be correct, confusing and difficult to understand for now, Let me know if these "...connectivity_net0" etc netlabels are correct behaviour.
Seve
The connectivity net id net labels are not the correct behavior
Seve
For my review- i was commenting on your schematic text, it doesnt describe the issue
M
Mustafa7
<@757706909351411845>
Want to add to the conversation?
Reply in Discord so your notes stay connected to the source.