I'm not using canvas. SVG is used for the connections, the rest is HTML. I'm not using any particular library for the diagrams, since I couldn't find anything suiting my purpose unfortunately.
I would definitely like to improve the look of the wires.
I would definitely like to improve the look of the wires.