sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.23k stars 619 forks source link

[Feature] Draw MOSFET's body diode on symbol if it's being simulated #942

Open XJDHDR opened 1 month ago

XJDHDR commented 1 month ago

It would be helpful if we could tell at a glance what the diode's orientation is. The code already modifies the symbol based on what "Swap D/S" is set to. Here is a screenshot of one way it could be done. Mosfet symbols