Dynamic graph generation
<p>I'm looking for JS library to help me in task like this. I've got sentences divided into words on the left side. Each word is displayed as bordered box. On the right side is place for editor. For each sentence I want to create a graph (tree) in a way that you drag&amp;drop boxes into editor. Graph will be stored as JSON array. I'm looking for library which will help me in generating this type of graphs. Any ideas or maybe other solutions for this problem?</p>

<p><img src="http://i.stack.imgur.com/1gywb.jpg" alt="enter image description here"></p>
