How to create a multiple linked & directed graph with javascript?

雨燕双飞 提交于 2019-12-13 12:38:05

问题


This is my problem: For a school project we are trying to create a directed graph and make it fit in a typical html website. We figured out it had to be written in javascript, because a java applet isn´t an option. So this is how it should look like: image.

The data visualised in the graph will be gathered from some xml files. We took a look at flare and some other packages, but real thing is making a two-way link between the nodes (where the thickness of the arrow represents importance) in our graph. Making the whole thing moveable is also required. Any ideas? Thank you.


回答1:


Have a look at jsPlumb - a not featurerich but easy customizable jQuery Plugin for directed graphs

http://morrisonpitt.com/jsPlumb/html/jquery/demo.html



来源:https://stackoverflow.com/questions/4646152/how-to-create-a-multiple-linked-directed-graph-with-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!