mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
github.com/jgraph/mxgraph
jgraph/mxgraph