开发者

(interactive) graph as in graph theory on a web page? [duplicate]

This question already has answers here: 开发者_开发百科 Closed 11 years ago.

Possible Duplicate:

Graph visualization code in javascript?

I have to integrate a graph with nodes and edges on a web page. Ideally, i would like to be able to interact with it (like moving the nodes around).

Actually, i'm beginning by representing trees, so i would appreciate to be able to collapse subtrees.

How can I do that ? I was considering google-visualization api but i wasn't able to find the kind of visualization i'm looking for (org chart doesn't allow to have multiple fathers, if i understood well)

I've got no idea of the kind of technology so my tagging may not be really accurate :-).

thanks


Two other options are:

  • Prefuse Flare which is in flash
  • JavaScript InfoVis Toolkit (JIT)


RaphaelJS may be of interest to you. Particularly this example.


http://processingjs.org/ might have what you're looking for.


I'd go for SVG (all 'newer' browsers implement it more or less; older via plugins: e.g. IE6).

If you want to make it interactive javascript manipulation should be doable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜