Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Javascript library to draw electrical circuit diagrams? [closed]

I'm looking for an open-source Javascript library that can draw electrical/electronics circuit diagrams in a modern (HTML5) browser - is there such a thing? It should have typical circuit elements like resistors, voltage and current sources, capacitors, etc. Thanks in advance for any help.

like image 702
limist Avatar asked Jul 19 '10 20:07

limist


People also ask

Which software is used to draw circuit diagrams?

SmartDraw comes with thousands of detailed electrical symbols you can drag and drop to your drawings and schematics. Open an wiring diagram or circuit drawing template—not just a blank screen. Add circuit symbols, switches, relays, and more. SmartDraw circuit drawing software works with you instead of against you.


4 Answers

Wikimedia Commons has a set of electrical symbols in SVG format and you can search for svg electronics too. This is a good start to be used with JS drawing libraries.

like image 136
FelipeAls Avatar answered Oct 31 '22 03:10

FelipeAls


I don't know of a library that does what you want, but there are three libraries that could be good starts.

  • Raphael
  • Protovis
  • Processingjs

They all have the right primitives to start with that you could build off of.

like image 35
Jay Askren Avatar answered Oct 31 '22 01:10

Jay Askren


I would recommend you find a library that has drawing capabilities, then write a plug-in for that library that would draw circuit elements where needed. Raphael is a pretty nice and easy-to-use drawing library.

like image 35
George Avatar answered Oct 31 '22 01:10

George


there is a library called WireIt , it can help you drawing circuit diagrams i hope it helps you or even you can go for webtronics.

like image 42
Priya Patel Avatar answered Oct 31 '22 03:10

Priya Patel