有没有 Dot 语言文件可视化的 jQuery 插件?
是否有用于显示 的 jQuery 插件点文件按照此处的指定存在于浏览器中?
我在 Visual Politics 上看到了概念证明,但它似乎并不完全支持点语言甚至无法正确显示。
我可以看一下那里的任何图书馆吗?
我需要通过 Ajax 加载的点文件在浏览器中实现网络图(而不是服务器端生成的 PNG)
Is there a jQuery plugin for displaying Dot files live in the browser as specified here?
I've seen a proof of concept at Visual Politics, but it doesn't seem to fully support the Dot language as even -- doesn't display correctly.
Any libraries out there I could have a look at for this?
I need to implement network graphs in the browser from dot files loaded via Ajax (rather than server side generated PNGs)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
查看 Canviz:http://code.google.com/p/canviz/
演示如下位于此处:http://www.ryandesign.com/canviz/
Check out Canviz: http://code.google.com/p/canviz/
Demos are located here: http://www.ryandesign.com/canviz/
当我在寻找相同的答案时,我发现“viz.js”为 DOT 提供了 GraphViz 的 java 脚本版本(请参阅 https://github.com/mdaines/viz.js)。
使用这个,我自己构建了 WP GraphViz,一个 WordPress 插件(请参阅 http: //wordpress.org/plugins/wp-graphviz/)。
As I was looking for the same answer, I found "viz.js" providing a java script version of GraphViz for DOT (see https://github.com/mdaines/viz.js).
Using this, I build myself WP GraphViz, a plugin for WordPress (see http://wordpress.org/plugins/wp-graphviz/).
我已经为此工作了将近一周。
有三种不同的实现:
1.用简单的js渲染svg,不需要安装graphviz
jquery.graphviz.svg https://github.com/mountainstorm/jquery.graphviz.svg
jQuery 插件,使 Graphviz SVG 输出更具交互性且更易于导航。可以轻松实现以下功能:
看一下演示: https://cdn.rawgit.com/mountainstorm/jquery.graphviz.svg/master/demo.html
2.基于d3.js
或者:
3.服务器端调用graphviz生成svg 文件。
I've been working on this for almost a week.
There are three different implementations:
1.Render svg in simple js, no needs install of graphviz
jquery.graphviz.svg https://github.com/mountainstorm/jquery.graphviz.svg
jQuery plugin to make Graphviz SVG output more interactive and easier to navigate. Makes it easy to have features like:
Have a look at the demo: https://cdn.rawgit.com/mountainstorm/jquery.graphviz.svg/master/demo.html
2.Based on d3.js
or:
3.server side call graphviz to generate svg file.