title: Javascript Flowchart designer in style of CKeditor
body: <p>I've learned here, on stack overflow, that what I need is called "flow-chart". I need to allow user to draw in a browser (using his mouse) a flow-chart that would represent a flow of a process or an algorithm. This flow-chart should contain decisions (yes/no diamonds), tasks (rectangles), arrows, labels etc.</p>
  
  <p>Flow-chart editor should be a part of a Form on a web page, should be written in JavaScript and important is, that it must produce a text output (XML?) that will be storable in DB and when this page is opened again, chart will be rendered based on the previously save text. </p>
  
  <p>No other outputs wil be necessary. Essentially, what I need is just a graphical XML editor/creator.</p>
  
  <p>It would be perfect if it worked as same as CkEditor:
  <a href="http://ckeditor.com/demo" rel="nofollow">http://ckeditor.com/demo</a></p>
  
  <p>This CkEditor is a JS Html editor that covers a textarea (in a form) and when you write something in this editor, it is (on the background) converted into HTML and written into the textarea. When you send the whole form using a button, the content of textarea can be processed and saved.</p>
  
  <p>I read following thread, but nothing was suitable for my purposes</p>
  
  <p>stackoverflow.com/questions/363592/javascript-library-for-hierarchical-flowchart</p>
  
  <p>Very close to my idea was this project, but it is a Java program that is run outside of browser and output can not be stored in DB.</p>
  
  <p>www.jgraph.com/jgraph.html</p>
  
  <p>Did anyone use something like I just described?</p>
  
  <p><strong>Update 1: This could be what i was loking for.</strong> Does anybody know something similar and/or free?
  origramy.com/origramy.html</p>