sharpie7 / circuitjs1

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

labeled nodes vertical text #611

Open dullbananas opened 3 years ago

dullbananas commented 3 years ago

These are centered aligned. They would look better left-aligned, and rotated when vertical D628AC0F-0D4B-4A5C-BC52-950EC59BD711

pfalstad commented 3 years ago

not sure about the rotation when vertical. just space them farther apart?

dullbananas commented 3 years ago

You are right. Maybe it should only be left-aligned when horizontal

dullbananas commented 3 years ago

or maybe wrap the text when vertical

pfalstad commented 3 years ago

The idea behind labeled nodes is to identify pins in subcircuits, and to connect parts of a circuit without having to route wires. So in both cases, the labels should be relatively short. If you want to add text to describe parts of a circuit, you can create text elements, which can be wrapped onto multiple lines (by using \n to add line breaks)

pfalstad commented 2 years ago

This is partly fixed but I'm leaving it open because it might be useful to have the node name printed vertically as an option.