JointJS - JavaScript diagramming library - Demos.

Fault Tree Analysis

Source Code on GitHub.