What is a good visualization library for creating state diagrams and animations?

霸气de小男生 提交于 2019-12-07 16:12:14

问题


I'd like to post-process log files and extract node data and transitions, and then graph them in a gui of some kind. So, I'd like to programmaticly draw bubble diagrams, maybe with animations showing packets going from node to node.

Ideally, perl or java would be the language of choice, but anything that runs on a linux platform would be fine.

What is the best library for this kind of thing?


回答1:


Java Solutions

Two possibilities in Java include Prefuse and Visual Library. They both have the ability to display graphs with some animation ability. Prefuse has better graph layouts. Visual Library is more Swing-like if you are used to Swing development.

Adobe Flash

If you are willing to work with Adobe Flash, Flare is probably a little more suited to your task as it has better animation capabilities and has good graph layouts.

Animation Libraries

If your diagrams are fairly simple, you could create your own diagrams and use the Timing Framework or Trident for animation.

Other

Some other possibilities include Processing and JavaFX. Javascript libraries include ProcessingJS and Protovis.




回答2:


Graphviz will draw you static diagrams. It can't do animations as far as I know.




回答3:


If you can convert the output into graphviz dot format (graphviz) than you can use idot incremental viewer (iDot_incremental_viewer) which uses prefuse behind the scenes and it's completely free. The only thing you need to do here is to convert the output in simple dot file. Rest will be taken care of incremental viewer.



来源:https://stackoverflow.com/questions/3426228/what-is-a-good-visualization-library-for-creating-state-diagrams-and-animations

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