JointJS - JavaScript diagramming library - Demos.

Logic Circuits

Source Code on GitHub.