You can build the schematics in JointJS, then open the graph in a joint.dia.Paper
that has set interactive: false
flag. This way you disable drag&drop but you can still react on clicks on the elements with: paper.on('cell:pointerup', function(cellView, evt, x, y) { ... });
A good JS library for housing electrical schematics
-
01-09-2022 - |
Question
Is there any javascript library available like, Raphaeljs or Jointjs but for showing/drawing electrical schematics. For instance want to make a JS/HTML page for showing the function of a transistor in a electronic diagram.
First i want to draw the diagram and then i want to show it to the user in a kind of read only way.
Is there a more suitable library for this or should i start modifying jointjs or raphael with custom figures.
Or should i just use images from omnigraffle and add add some buttons on top of it?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow