I need to generate flowchart from business process specification (tasks, their input, output points, roles applicable for each task... ) stored in a database.
What I need is javacript (preferably, open-sourced) library which can generate a shiny flowchart with swimlines. Ideally I should be able to edit workflow items connections and send changes back to database. Any recommendations?
UPDATE
By flowchart I mean something like this:
UPDATE
Found open-source project which that allows create/edit basic flowcharts here
But it seems abanddoned since 2007.
UPDATE
I want something close to this with open-sourced javascript library (not flash) which can be quickly modified for my needs.