多图与JavaScript [英] Multigraphs with javascript

查看:114
本文介绍了多图与JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先看并使用它的图像,如,但能够绘制多图)



顺便说一句,我不想​​再使用Adobe Flash而不是javascript(任何其他解决方案都适合我)。

解决方案

Cytoscape.JS支持多图,是纯Javascript,并且使用新的HTML 5 Canvas来提高性能。它的设计意图是通用图形可视化/操纵。

http://cytoscape.github.com/cytoscape.js/


First of all look at this question.

None of those libraries support Multigraphs (or Pseudographs ). I mean I can't generate graphs like this:

Is there any jQuery plugin (or javascript library) out there for this purpose ?

I thought i can use WolframAlpha's API and use its images, something like this:

but it have lots of problem:

1- I can't move nodes or add remove edges interactively.

2- Only 2000 API calls per month. Not enough.

3- I can't produce large or intermediate graphs.

4- Its really ugly !

Please help me if you know some javascript library in order to draw Multigraphs, or anyway to produce such graphs. ( something like Dracula Graph Library but with ability to draw Multigraphs ).

BTW, I don't want to use Adobe Flash instead of javascript anymore.( any other solutions are acceptable for me )

Thanks in advance.

解决方案

Cytoscape.JS supports multigraphs, is pure Javascript, and uses the new HTML 5 Canvas for performance. Its design intent is general purpose graph visualization/manipulation.

http://cytoscape.github.com/cytoscape.js/

这篇关于多图与JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆