JointJS - JavaScript diagramming library - Demos.

Finite State Machines

Source Code on GitHub.