diff --git a/lib/components/normal-components/Chip.ts b/lib/components/normal-components/Chip.ts index 43af92c6..0bf6fda5 100644 --- a/lib/components/normal-components/Chip.ts +++ b/lib/components/normal-components/Chip.ts @@ -43,7 +43,7 @@ export class Chip extends NormalComponent< x: (props.schX ?? 0) + (schematic_box_width ?? 0) / 2, y: (props.schY ?? 0) + (schematic_box_height ?? 0) / 2 + 0.55, }, - color: "black", + color: "#006464", }) const component_name_text = db.schematic_text.insert({ text: props.name ?? "", @@ -54,7 +54,7 @@ export class Chip extends NormalComponent< x: (props.schX ?? 0) + (schematic_box_width ?? 0) / 2, y: (props.schY ?? 0) + (schematic_box_height ?? 0) / 2 + 0.35, }, - color: "black", + color: "#006464", }) this.source_component_id = source_component.source_component_id! } diff --git a/tests/components/normal-components/__snapshots__/battery-schematic.snap.svg b/tests/components/normal-components/__snapshots__/battery-schematic.snap.svg index 47a1e9c6..d4657648 100644 --- a/tests/components/normal-components/__snapshots__/battery-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/battery-schematic.snap.svg @@ -7,6 +7,9 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } diff --git a/tests/components/normal-components/__snapshots__/chip-complex-crossings-simplified-1-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-complex-crossings-simplified-1-schematic.snap.svg index f80b47b6..4490b1a2 100644 --- a/tests/components/normal-components/__snapshots__/chip-complex-crossings-simplified-1-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-complex-crossings-simplified-1-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -6,-3-6,-2-6,-1-6,0-6,1-6,2-5,-3-5,-2-5,-1-5,0-5,1-5,2-4,-3-4,-2-4,-1-4,0-4,1-4,2-3,-3-3,-2-3,-1-3,0-3,1-3,2-2,-3-2,-2-2,-1-2,0-2,1-2,2-1,-3-1,-2-1,-1-1,0-1,1-1,20,-30,-20,-10,00,10,21,-31,-21,-11,01,11,22,-32,-22,-12,02,12,2U11IN12IN23IN34IN45IN56IN67IN78IN89OUT110OUT211OUT312OUT413OUT514OUT615OUT716OUT8R210kΩR310kΩR410kΩ \ No newline at end of file + -6,-3-6,-2-6,-1-6,0-6,1-6,2-5,-3-5,-2-5,-1-5,0-5,1-5,2-4,-3-4,-2-4,-1-4,0-4,1-4,2-3,-3-3,-2-3,-1-3,0-3,1-3,2-2,-3-2,-2-2,-1-2,0-2,1-2,2-1,-3-1,-2-1,-1-1,0-1,1-1,20,-30,-20,-10,00,10,21,-31,-21,-11,01,11,22,-32,-22,-12,02,12,2U11IN12IN23IN34IN45IN56IN67IN78IN89OUT110OUT211OUT312OUT413OUT514OUT615OUT716OUT8R210kΩR310kΩR410kΩU1 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip-complex-schematic-crossings-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-complex-schematic-crossings-schematic.snap.svg index 7fbecc8d..c0f25626 100644 --- a/tests/components/normal-components/__snapshots__/chip-complex-schematic-crossings-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-complex-schematic-crossings-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -6,-5-6,-4-6,-3-6,-2-6,-1-6,0-6,1-6,2-6,3-5,-5-5,-4-5,-3-5,-2-5,-1-5,0-5,1-5,2-5,3-4,-5-4,-4-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-3,-5-3,-4-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-2,-5-2,-4-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-1,-5-1,-4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,30,-50,-40,-30,-20,-10,00,10,20,31,-51,-41,-31,-21,-11,01,11,21,32,-52,-42,-32,-22,-12,02,12,22,33,-53,-43,-33,-23,-13,03,13,23,34,-54,-44,-34,-24,-14,04,14,24,35,-55,-45,-35,-25,-15,05,15,25,36,-56,-46,-36,-26,-16,06,16,26,37,-57,-47,-37,-27,-17,07,17,27,3U11IN12IN23IN34IN45IN56IN67IN78IN89OUT110OUT211OUT312OUT413OUT514OUT615OUT716OUT8R110kΩR210kΩR310kΩR410kΩR510kΩR610kΩR710kΩR810kΩR910kΩR1010kΩR1110kΩR1210kΩ \ No newline at end of file + -6,-5-6,-4-6,-3-6,-2-6,-1-6,0-6,1-6,2-6,3-6,4-6,5-6,6-5,-5-5,-4-5,-3-5,-2-5,-1-5,0-5,1-5,2-5,3-5,4-5,5-5,6-4,-5-4,-4-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-4,6-3,-5-3,-4-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-3,6-2,-5-2,-4-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-2,6-1,-5-1,-4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,5-1,60,-50,-40,-30,-20,-10,00,10,20,30,40,50,61,-51,-41,-31,-21,-11,01,11,21,31,41,51,62,-52,-42,-32,-22,-12,02,12,22,32,42,52,63,-53,-43,-33,-23,-13,03,13,23,33,43,53,64,-54,-44,-34,-24,-14,04,14,24,34,44,54,65,-55,-45,-35,-25,-15,05,15,25,35,45,55,66,-56,-46,-36,-26,-16,06,16,26,36,46,56,67,-57,-47,-37,-27,-17,07,17,27,37,47,57,6U11IN12IN23IN34IN45IN56IN67IN78IN89OUT110OUT211OUT312OUT413OUT514OUT615OUT716OUT8R110kΩR210kΩR310kΩR410kΩR510kΩR610kΩR710kΩR810kΩR910kΩR1010kΩR1110kΩR1210kΩU1 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip-layer-flip-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-layer-flip-schematic.snap.svg index 2282168b..d32ff7d1 100644 --- a/tests/components/normal-components/__snapshots__/chip-layer-flip-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-layer-flip-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-1-2,0-2,1-1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1U1123U2123 \ No newline at end of file + -2,-1-2,0-2,1-2,2-1,-1-1,0-1,1-1,20,-10,00,10,21,-11,01,11,22,-12,02,12,2U1123U2123U1U2 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip-override-footprint-ports-when-schPortArrangement-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-override-footprint-ports-when-schPortArrangement-schematic.snap.svg index 51833c51..ff33e59e 100644 --- a/tests/components/normal-components/__snapshots__/chip-override-footprint-ports-when-schPortArrangement-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-override-footprint-ports-when-schPortArrangement-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2ESP321pos2neg \ No newline at end of file + -2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2ESP321pos2negESP32 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip-pin-alias-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-pin-alias-schematic.snap.svg index c40e0ac0..21827441 100644 --- a/tests/components/normal-components/__snapshots__/chip-pin-alias-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-pin-alias-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2U11A12A23B1_14B1_25B2_16B2_27B3_18B3_2 \ No newline at end of file + -2,-2-2,-1-2,0-2,1-2,2-2,3-1,-2-1,-1-1,0-1,1-1,2-1,30,-20,-10,00,10,20,31,-21,-11,01,11,21,32,-22,-12,02,12,22,3U11A12A23B1_14B1_25B2_16B2_27B3_18B3_2U1 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip-port-schematic-position-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-port-schematic-position-schematic.snap.svg index cdab5da1..752268ce 100644 --- a/tests/components/normal-components/__snapshots__/chip-port-schematic-position-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-port-schematic-position-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - 3,-13,-0.53,03,0.53,13.5,-13.5,-0.53.5,03.5,0.53.5,14,-14,-0.54,04,0.54,14.5,-14.5,-0.54.5,04.5,0.54.5,15,-15,-0.55,05,0.55,15.5,-15.5,-0.55.5,05.5,0.55.5,16,-16,-0.56,06,0.56,16.5,-16.5,-0.56.5,06.5,0.56.5,17,-17,-0.57,07,0.57,1U11VCC8GND234567 \ No newline at end of file + 3,-13,-0.53,03,0.53,13,1.53,23.5,-13.5,-0.53.5,03.5,0.53.5,13.5,1.53.5,24,-14,-0.54,04,0.54,14,1.54,24.5,-14.5,-0.54.5,04.5,0.54.5,14.5,1.54.5,25,-15,-0.55,05,0.55,15,1.55,25.5,-15.5,-0.55.5,05.5,0.55.5,15.5,1.55.5,26,-16,-0.56,06,0.56,16,1.56,26.5,-16.5,-0.56.5,06.5,0.56.5,16.5,1.56.5,27,-17,-0.57,07,0.57,17,1.57,2U11VCC8GND234567U1 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip-port-without-portarrangement-schematic.snap.svg b/tests/components/normal-components/__snapshots__/chip-port-without-portarrangement-schematic.snap.svg index e9c2eaf2..e0327448 100644 --- a/tests/components/normal-components/__snapshots__/chip-port-without-portarrangement-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip-port-without-portarrangement-schematic.snap.svg @@ -7,11 +7,14 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -9,-2-9,-1-9,0-9,1-9,2-9,3-8,-2-8,-1-8,0-8,1-8,2-8,3-7,-2-7,-1-7,0-7,1-7,2-7,3-6,-2-6,-1-6,0-6,1-6,2-6,3-5,-2-5,-1-5,0-5,1-5,2-5,3-4,-2-4,-1-4,0-4,1-4,2-4,3-3,-2-3,-1-3,0-3,1-3,2-3,3-2,-2-2,-1-2,0-2,1-2,2-2,3-1,-2-1,-1-1,0-1,1-1,2-1,30,-20,-10,00,10,20,31,-21,-11,01,11,21,32,-22,-12,02,12,22,33,-23,-13,03,13,23,34,-24,-14,04,14,24,3U11OUT12OUT23OUT34OUT45VCC6IN17IN28GNDD1D2C11nFC21nF-9,-2-9,-1-9,0-9,1-9,2-9,3-8,-2-8,-1-8,0-8,1-8,2-8,3-7,-2-7,-1-7,0-7,1-7,2-7,3-6,-2-6,-1-6,0-6,1-6,2-6,3-5,-2-5,-1-5,0-5,1-5,2-5,3-4,-2-4,-1-4,0-4,1-4,2-4,3-3,-2-3,-1-3,0-3,1-3,2-3,3-2,-2-2,-1-2,0-2,1-2,2-2,3-1,-2-1,-1-1,0-1,1-1,2-1,30,-20,-10,00,10,20,31,-21,-11,01,11,21,32,-22,-12,02,12,22,33,-23,-13,03,13,23,34,-24,-14,04,14,24,3U11OUT12OUT23OUT34OUT45VCC6IN17IN28GNDD1D2C11nFC21nFMOUT2 \ No newline at end of file + " fill="white" stroke="rgb(132, 0, 0)" stroke-width="1.87495651844px"/>MOUT2U1 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/chip.snap.svg b/tests/components/normal-components/__snapshots__/chip.snap.svg index 76a5b6c4..a5ae7184 100644 --- a/tests/components/normal-components/__snapshots__/chip.snap.svg +++ b/tests/components/normal-components/__snapshots__/chip.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - U11VCC8GND234567 \ No newline at end of file + U11VCC8GND234567U1 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/custom-footprint-4-ports.snap.svg b/tests/components/normal-components/__snapshots__/custom-footprint-4-ports.snap.svg index aeee983a..2de4d6b8 100644 --- a/tests/components/normal-components/__snapshots__/custom-footprint-4-ports.snap.svg +++ b/tests/components/normal-components/__snapshots__/custom-footprint-4-ports.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-1-2,0-2,1-1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1AMS1117_3_3chips1GND2VOUT13VIN4VOUT2 \ No newline at end of file + -2,-1-2,0-2,1-2,2-1,-1-1,0-1,1-1,20,-10,00,10,21,-11,01,11,22,-12,02,12,2AMS1117_3_3chips1GND2VOUT13VIN4VOUT2AMS1117_3_3chips \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/diode-svg-snapshot-schematic.snap.svg b/tests/components/normal-components/__snapshots__/diode-svg-snapshot-schematic.snap.svg index c9076cbd..ed4ad39b 100644 --- a/tests/components/normal-components/__snapshots__/diode-svg-snapshot-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/diode-svg-snapshot-schematic.snap.svg @@ -7,6 +7,9 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } diff --git a/tests/components/normal-components/__snapshots__/header-schematic.snap.svg b/tests/components/normal-components/__snapshots__/header-schematic.snap.svg index ef474c68..8b242c35 100644 --- a/tests/components/normal-components/__snapshots__/header-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/header-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1J11234 \ No newline at end of file + -1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1J11234 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/inductor-schematic.snap.svg b/tests/components/normal-components/__snapshots__/inductor-schematic.snap.svg index 4068ad8c..eced868d 100644 --- a/tests/components/normal-components/__snapshots__/inductor-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/inductor-schematic.snap.svg @@ -7,6 +7,9 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } diff --git a/tests/components/normal-components/__snapshots__/jumper-schematic.snap.svg b/tests/components/normal-components/__snapshots__/jumper-schematic.snap.svg index e59df868..fb19eb4f 100644 --- a/tests/components/normal-components/__snapshots__/jumper-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/jumper-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-1-2,0-2,1-1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1J11234 \ No newline at end of file + -2,-1-2,0-2,1-1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1J11234 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/pin-header-schematic.snap.svg b/tests/components/normal-components/__snapshots__/pin-header-schematic.snap.svg index ed40be8b..ee6a6bda 100644 --- a/tests/components/normal-components/__snapshots__/pin-header-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/pin-header-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-1-2,0-2,1-1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1P11234 \ No newline at end of file + -2,-1-2,0-2,1-1,-1-1,0-1,10,-10,00,11,-11,01,12,-12,02,1P11234 \ No newline at end of file diff --git a/tests/components/normal-components/__snapshots__/potentiometer-schematic.snap.svg b/tests/components/normal-components/__snapshots__/potentiometer-schematic.snap.svg index e7bd57be..d91d3c06 100644 --- a/tests/components/normal-components/__snapshots__/potentiometer-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/potentiometer-schematic.snap.svg @@ -7,6 +7,9 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } diff --git a/tests/components/normal-components/__snapshots__/pushbutton-schematic.snap.svg b/tests/components/normal-components/__snapshots__/pushbutton-schematic.snap.svg index 04bb9226..1d0c10b4 100644 --- a/tests/components/normal-components/__snapshots__/pushbutton-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/pushbutton-schematic.snap.svg @@ -7,6 +7,9 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } diff --git a/tests/components/normal-components/__snapshots__/rotated-components-schematic.snap.svg b/tests/components/normal-components/__snapshots__/rotated-components-schematic.snap.svg index ccd5ff6e..197ecf32 100644 --- a/tests/components/normal-components/__snapshots__/rotated-components-schematic.snap.svg +++ b/tests/components/normal-components/__snapshots__/rotated-components-schematic.snap.svg @@ -7,6 +7,9 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } diff --git a/tests/components/primitive-components/__snapshots__/schematic-crossing-rendering-schematic.snap.svg b/tests/components/primitive-components/__snapshots__/schematic-crossing-rendering-schematic.snap.svg index f8fc7e77..7b0bf55a 100644 --- a/tests/components/primitive-components/__snapshots__/schematic-crossing-rendering-schematic.snap.svg +++ b/tests/components/primitive-components/__snapshots__/schematic-crossing-rendering-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -5,-2-5,-1-5,0-5,1-5,2-4,-2-4,-1-4,0-4,1-4,2-3,-2-3,-1-3,0-3,1-3,2-2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2U11IN12IN23OUT14OUT2R210kΩR310kΩ \ No newline at end of file + -5,-2-5,-1-5,0-5,1-5,2-4,-2-4,-1-4,0-4,1-4,2-3,-2-3,-1-3,0-3,1-3,2-2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2U11IN12IN23OUT14OUT2R210kΩR310kΩU1 \ No newline at end of file diff --git a/tests/components/primitive-components/__snapshots__/trace-hint-schematic.snap.svg b/tests/components/primitive-components/__snapshots__/trace-hint-schematic.snap.svg deleted file mode 100644 index c11e7b4a..00000000 --- a/tests/components/primitive-components/__snapshots__/trace-hint-schematic.snap.svg +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/tests/components/primitive-components/__snapshots__/trace-schematic.snap.svg b/tests/components/primitive-components/__snapshots__/trace-schematic.snap.svg deleted file mode 100644 index c11e7b4a..00000000 --- a/tests/components/primitive-components/__snapshots__/trace-schematic.snap.svg +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/tests/examples/__snapshots__/bug-high-port-number-schematic.snap.svg b/tests/examples/__snapshots__/bug-high-port-number-schematic.snap.svg index d2086c02..fc47ef5f 100644 --- a/tests/examples/__snapshots__/bug-high-port-number-schematic.snap.svg +++ b/tests/examples/__snapshots__/bug-high-port-number-schematic.snap.svg @@ -7,11 +7,14 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -9,-3-9,-2-9,-1-9,0-9,1-9,2-9,3-9,4-9,5-8,-3-8,-2-8,-1-8,0-8,1-8,2-8,3-8,4-8,5-7,-3-7,-2-7,-1-7,0-7,1-7,2-7,3-7,4-7,5-6,-3-6,-2-6,-1-6,0-6,1-6,2-6,3-6,4-6,5-5,-3-5,-2-5,-1-5,0-5,1-5,2-5,3-5,4-5,5-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-30,-20,-10,00,10,20,30,40,51,-31,-21,-11,01,11,21,31,41,52,-32,-22,-12,02,12,22,32,42,53,-33,-23,-13,03,13,23,33,43,54,-34,-24,-14,04,14,24,34,44,55,-35,-25,-15,05,15,25,35,45,56,-36,-26,-16,06,16,26,36,46,5part-numberU11TXD2DTR3RTS4VCCIO5RXD6RI7GND79DSR10DCD11CTS12SLEEP13TXDEN14PWRUN15USBDP16USBDM173V3OUT18GND1819RESET20VCC21GND2122RXLED23TXLED25AGND26TEST27OSCI28OSCOR1R2LED1LED2-9,-3-9,-2-9,-1-9,0-9,1-9,2-9,3-9,4-9,5-8,-3-8,-2-8,-1-8,0-8,1-8,2-8,3-8,4-8,5-7,-3-7,-2-7,-1-7,0-7,1-7,2-7,3-7,4-7,5-6,-3-6,-2-6,-1-6,0-6,1-6,2-6,3-6,4-6,5-5,-3-5,-2-5,-1-5,0-5,1-5,2-5,3-5,4-5,5-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-30,-20,-10,00,10,20,30,40,51,-31,-21,-11,01,11,21,31,41,52,-32,-22,-12,02,12,22,32,42,53,-33,-23,-13,03,13,23,33,43,54,-34,-24,-14,04,14,24,34,44,55,-35,-25,-15,05,15,25,35,45,56,-36,-26,-16,06,16,26,36,46,5part-numberU11TXD2DTR3RTS4VCCIO5RXD6RI7GND79DSR10DCD11CTS12SLEEP13TXDEN14PWRUN15USBDP16USBDM173V3OUT18GND1819RESET20VCC21GND2122RXLED23TXLED25AGND26TEST27OSCI28OSCOR1R2LED1LED2GND \ No newline at end of file + " fill="white" stroke="rgb(132, 0, 0)" stroke-width="1.5px"/>GNDpart-numberU1 \ No newline at end of file diff --git a/tests/examples/__snapshots__/example3-2x2-keyboard-pcb.snap.svg b/tests/examples/__snapshots__/example3-2x2-keyboard-pcb.snap.svg deleted file mode 100644 index 4f92c101..00000000 --- a/tests/examples/__snapshots__/example3-2x2-keyboard-pcb.snap.svg +++ /dev/null @@ -1,13 +0,0 @@ - \ No newline at end of file diff --git a/tests/examples/__snapshots__/example4-kicad-schematic.snap.svg b/tests/examples/__snapshots__/example4-kicad-schematic.snap.svg index 79ba0d90..2addb749 100644 --- a/tests/examples/__snapshots__/example4-kicad-schematic.snap.svg +++ b/tests/examples/__snapshots__/example4-kicad-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -4,-5-4,-4-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-3,-5-3,-4-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-2,-5-2,-4-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-5-1,-4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-50,-40,-30,-20,-10,00,10,20,30,40,51,-51,-41,-31,-21,-11,01,11,21,31,41,52,-52,-42,-32,-22,-12,02,12,22,32,42,53,-53,-43,-33,-23,-13,03,13,23,33,43,54,-54,-44,-34,-24,-14,04,14,24,34,44,55,-55,-45,-35,-25,-15,05,15,25,35,45,56,-56,-46,-36,-26,-16,06,16,26,36,46,57,-57,-47,-37,-27,-17,07,17,27,37,47,58,-58,-48,-38,-28,-18,08,18,28,38,48,59,-59,-49,-39,-29,-19,09,19,29,39,49,510,-510,-410,-310,-210,-110,010,110,210,310,410,5R110kΩC110µFATmega8-16AU27GND8-V+234121314151617181920222329 \ No newline at end of file + -4,-5-4,-4-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-3,-5-3,-4-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-2,-5-2,-4-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-5-1,-4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-50,-40,-30,-20,-10,00,10,20,30,40,51,-51,-41,-31,-21,-11,01,11,21,31,41,52,-52,-42,-32,-22,-12,02,12,22,32,42,53,-53,-43,-33,-23,-13,03,13,23,33,43,54,-54,-44,-34,-24,-14,04,14,24,34,44,55,-55,-45,-35,-25,-15,05,15,25,35,45,56,-56,-46,-36,-26,-16,06,16,26,36,46,57,-57,-47,-37,-27,-17,07,17,27,37,47,58,-58,-48,-38,-28,-18,08,18,28,38,48,59,-59,-49,-39,-29,-19,09,19,29,39,49,510,-510,-410,-310,-210,-110,010,110,210,310,410,5R110kΩC110µFATmega8-16AU27GND8-V+234121314151617181920222329ATmega8-16AU2 \ No newline at end of file diff --git a/tests/examples/__snapshots__/example5-simple-circuit-schematic.snap.svg b/tests/examples/__snapshots__/example5-simple-circuit-schematic.snap.svg index 20264b74..4b153d9c 100644 --- a/tests/examples/__snapshots__/example5-simple-circuit-schematic.snap.svg +++ b/tests/examples/__snapshots__/example5-simple-circuit-schematic.snap.svg @@ -7,11 +7,14 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -6,-2-6,-1-6,0-6,1-6,2-5,-2-5,-1-5,0-5,1-5,2-4,-2-4,-1-4,0-4,1-4,2-3,-2-3,-1-3,0-3,1-3,2-2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2C110µFR110kΩSW11234-6,-2-6,-1-6,0-6,1-6,2-5,-2-5,-1-5,0-5,1-5,2-4,-2-4,-1-4,0-4,1-4,2-3,-2-3,-1-3,0-3,1-3,2-2,-2-2,-1-2,0-2,1-2,2-1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,22,-22,-12,02,12,2C110µFR110kΩSW11234GND \ No newline at end of file + " fill="white" stroke="rgb(132, 0, 0)" stroke-width="3.46162578055px"/>GNDSW1 \ No newline at end of file diff --git a/tests/examples/__snapshots__/example6-voltage-regulator-schematic.snap.svg b/tests/examples/__snapshots__/example6-voltage-regulator-schematic.snap.svg deleted file mode 100644 index ff41937e..00000000 --- a/tests/examples/__snapshots__/example6-voltage-regulator-schematic.snap.svg +++ /dev/null @@ -1,12 +0,0 @@ --1,-2-1,-1-1,0-1,1-1,20,-20,-10,00,10,21,-21,-11,01,11,2U17EP6IN5PG4EN3GND2FB1OUT89 \ No newline at end of file diff --git a/tests/examples/__snapshots__/example7-voltage-regulator-with-connections-schematic.snap.svg b/tests/examples/__snapshots__/example7-voltage-regulator-with-connections-schematic.snap.svg index bbd4955e..636a1e2a 100644 --- a/tests/examples/__snapshots__/example7-voltage-regulator-with-connections-schematic.snap.svg +++ b/tests/examples/__snapshots__/example7-voltage-regulator-with-connections-schematic.snap.svg @@ -7,11 +7,14 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -6,-3-6,-2-6,-1-6,0-6,1-6,2-6,3-6,4-6,5-5,-3-5,-2-5,-1-5,0-5,1-5,2-5,3-5,4-5,5-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-30,-20,-10,00,10,20,30,40,51,-31,-21,-11,01,11,21,31,41,52,-32,-22,-12,02,12,22,32,42,53,-33,-23,-13,03,13,23,33,43,54,-34,-24,-14,04,14,24,34,44,55,-35,-25,-15,05,15,25,35,45,56,-36,-26,-16,06,16,26,36,46,5PWR17EP6IN5PG4EN3GND2FB1OUTR61MΩR72kΩR81kΩC610µFC710µFLED1-6,-3-6,-2-6,-1-6,0-6,1-6,2-6,3-6,4-6,5-5,-3-5,-2-5,-1-5,0-5,1-5,2-5,3-5,4-5,5-4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-4,4-4,5-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-3,4-3,5-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-30,-20,-10,00,10,20,30,40,51,-31,-21,-11,01,11,21,31,41,52,-32,-22,-12,02,12,22,32,42,53,-33,-23,-13,03,13,23,33,43,54,-34,-24,-14,04,14,24,34,44,55,-35,-25,-15,05,15,25,35,45,56,-36,-26,-16,06,16,26,36,46,5PWR17EP6IN5PG4EN3GND2FB1OUTR61MΩR72kΩR81kΩC610µFC710µFLED1v3_3junction \ No newline at end of file + " fill="white" stroke="rgb(132, 0, 0)" stroke-width="1.7142015592339999px"/>v3_3PWR1junction \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro3-usb-port-footprint-schematic.snap.svg b/tests/repros/__snapshots__/repro3-usb-port-footprint-schematic.snap.svg index 6fb779df..3025c09e 100644 --- a/tests/repros/__snapshots__/repro3-usb-port-footprint-schematic.snap.svg +++ b/tests/repros/__snapshots__/repro3-usb-port-footprint-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-5-2,-4-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-1,-5-1,-4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,50,-50,-40,-30,-20,-10,00,10,20,30,40,51,-51,-41,-31,-21,-11,01,11,21,31,41,52,-52,-42,-32,-22,-12,02,12,22,32,42,5U1235B86A57B78A69A710B611A812B513A114B1215A416B917B418A919B1 \ No newline at end of file + -2,-5-2,-4-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-2,5-2,6-1,-5-1,-4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,4-1,5-1,60,-50,-40,-30,-20,-10,00,10,20,30,40,50,61,-51,-41,-31,-21,-11,01,11,21,31,41,51,62,-52,-42,-32,-22,-12,02,12,22,32,42,52,6U1235B86A57B78A69A710B611A812B513A114B1215A416B917B418A919B1U1 \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro4-schematic-trace-overlap-schematic.snap.svg b/tests/repros/__snapshots__/repro4-schematic-trace-overlap-schematic.snap.svg index 09efd2f9..02f716dd 100644 --- a/tests/repros/__snapshots__/repro4-schematic-trace-overlap-schematic.snap.svg +++ b/tests/repros/__snapshots__/repro4-schematic-trace-overlap-schematic.snap.svg @@ -7,8 +7,11 @@ .trace:hover { filter: invert(1); } + .trace:hover .trace-crossing-outline { + opacity: 0; + } .text { font-family: sans-serif; fill: rgb(0, 150, 0); } .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,30,-30,-20,-10,00,10,20,31,-31,-21,-11,01,11,21,32,-32,-22,-12,02,12,22,3R110kΩR210kΩR310kΩ \ No newline at end of file + -4,-3-4,-2-4,-1-4,0-4,1-4,2-4,3-3,-3-3,-2-3,-1-3,0-3,1-3,2-3,3-2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,30,-30,-20,-10,00,10,20,31,-31,-21,-11,01,11,21,32,-32,-22,-12,02,12,22,3R110kΩR210kΩR310kΩ \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro5-schematic-schematic.snap.svg b/tests/repros/__snapshots__/repro5-schematic-schematic.snap.svg index e406bdc8..2370f277 100644 --- a/tests/repros/__snapshots__/repro5-schematic-schematic.snap.svg +++ b/tests/repros/__snapshots__/repro5-schematic-schematic.snap.svg @@ -14,4 +14,4 @@ .pin-number { fill: rgb(169, 0, 0); } .port-label { fill: rgb(0, 100, 100); } .component-name { fill: rgb(0, 100, 100); } - -2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,40,-30,-20,-10,00,10,20,30,41,-31,-21,-11,01,11,21,31,42,-32,-22,-12,02,12,22,32,43,-33,-23,-13,03,13,23,33,44,-34,-24,-14,04,14,24,34,4part-numberU11TXD2DTR3RTS4VCCIO5RXD6RI7GND79DSR10DCD11CTS12SLEEP13TXDEN14PWRUN15USBDP16USBDM173V3OUT18GND1819RESET20VCC21GND2122RXLED23TXLED25AGND26TEST27OSCI28OSCOLED1part-numberU1 \ No newline at end of file + -2,-3-2,-2-2,-1-2,0-2,1-2,2-2,3-2,4-1,-3-1,-2-1,-1-1,0-1,1-1,2-1,3-1,40,-30,-20,-10,00,10,20,30,41,-31,-21,-11,01,11,21,31,42,-32,-22,-12,02,12,22,32,43,-33,-23,-13,03,13,23,33,44,-34,-24,-14,04,14,24,34,4part-numberU11TXD2DTR3RTS4VCCIO5RXD6RI7GND79DSR10DCD11CTS12SLEEP13TXDEN14PWRUN15USBDP16USBDM173V3OUT18GND1819RESET20VCC21GND2122RXLED23TXLED25AGND26TEST27OSCI28OSCOLED1part-numberU1 \ No newline at end of file