JointJS - JavaScript diagramming library - Demos.

Finite State Machines