I would like to create a web diagramming(visio) tool in javascript. im new to javascript but have extensive programming experience. i would like to get some feedback on what i need and what's the best way to go about writing this. thank you
Hi,
Actually there is tool to help you. It's Javascript based and you can use the codes. Please check it out : Javascript Diagram Builder
Have a look at the latest javascript libaries eg: jQuery (www.jQuery.com) and the plugins. This will speed things up if you want to stick to JavaScript.
In my opinion though, with this type of project where a much richer user interface is required, it may be better to use flash or silverlight.
There's already MxGraph, which is free for non-commercial use. It should give you some ideas.
There is a free JavaScript diagramming library - Joint - http://www.jointjs.com.
I started to write one in order to learn how to program using Prototype. I ended up with this, but abandoned it. You're welcome to steal my code.
You can make boxes, label them, connect them and move then around on the screen. The connectors will follow.
It was all fun-and-games until I realized making a decent connector-routing algorithm was going to take over my brain....and that I had real "job-work" to focus on.