views:

5271

answers:

9

Do you know any Javascript libraries which can present graph visually in a web page?

Clarification: by graphs I mean something like workflow trees or decision trees. Sorry for not being clear.

A: 

We used YUI in our last project. It's free and has a lot of neat features, check it out!

EDIT: Charts is the component that allows statistical type graphs, scatter plots and other charting stuff. I didn't realize you were looking for a flowchart / hierarchy based graph.

Zachary Yates
Which component are you referring to? Charts? I'm not finding any component which could build graphs.
Gonçalo Veiga
+1  A: 

SO uses flot, which I think is pretty awesome, and am looking to use in an upcoming company project

edit: Missed the "hierarchical" part. Would still recommend flot for linear though

Matt Briggs
Flot is a great lib, just not for trees.
scunliffe
+1  A: 
Eugene Lazutkin
+2  A: 

I made a proof-of-concept box and connector program using Prototype years ago. It's kind of crappy, and I never finished it, but it's proof it can be done. You're welcome to it.

Diodeus
that is really nice, even for a demo. Very cool.
Kevin
+1  A: 

JSFlowChart...

http://code.google.com/p/jsflowchart/

AngrySpade
A: 

I used the following library a while back and it implements walker's algorithm nicely. It might be a bit dated though.

Paul U
A: 

I think JQuery has some solutions to it, but I would say do it in Flex, it's awesome for these kind of scenarios. There are even an open source solution to Flex. And it's quite easy also, only look in the Adobe documentation.

+1  A: 

I've been doing some research, looking for a JS component that would handle the live creation of flow charts / decision trees, mxGraph looks pretty handy: http://www.jgraph.com/mxgraph.html

Disclaimer: I have no relationship at all with the vendor, other than having searched the net for something suitable.

djch
not free and not even cheap :(
No, but that wasn't the question!
djch
Yeah, that wasn't the question, so +1 to cancel out the downvote.
Pekka
A: 

How about InfoVis? (See this SO question.)

Upper Stage