prefuse

Problem in displaying nodes through PREFUSE library for Java?

你离开我真会死。 提交于 2019-11-30 09:28:04
问题 I am developing a graphical view of data using PREFUSE library. I have 3 kinds of nodes in my graph: APPLICATION DATABASE INTERFACE Below are some excerpts from my .xml file containing graph <node id="AP-1"> <data key="name">Application1</data> <data key="type">APPLICATION</data> </node> <node id="DB-1"> <data key="name">Database1</data> <data key="type">DATABASE</data> </node> <node id="IT-1"> <data key="name">Interface1</data> <data key="type">INTERFACE</data> </node> I want to show the

Prefuse Toolkit: dynamically adding nodes and edges

百般思念 提交于 2019-11-29 23:24:05
Does anyone have experience with the prefuse graph toolkit? Is it possible to change an already displayed graph, ie. add/remove nodes and/or edges, and have the display correctly adapt? For instance, prefuse comes with an example that visualizes a network of friends: http://prefuse.org/doc/manual/introduction/example/Example.java What I would like to do is something along the lines of this: // -- 7. add new nodes on the fly ------------------------------------- new Timer(2000, new ActionListener() { private Node oldNode = graph.nodes().next(); // init with random node public void

Problem in displaying nodes through PREFUSE library for Java?

懵懂的女人 提交于 2019-11-29 15:52:13
I am developing a graphical view of data using PREFUSE library. I have 3 kinds of nodes in my graph: APPLICATION DATABASE INTERFACE Below are some excerpts from my .xml file containing graph <node id="AP-1"> <data key="name">Application1</data> <data key="type">APPLICATION</data> </node> <node id="DB-1"> <data key="name">Database1</data> <data key="type">DATABASE</data> </node> <node id="IT-1"> <data key="name">Interface1</data> <data key="type">INTERFACE</data> </node> I want to show the above 3 diff. kinds of nodes with 3 diff. kinds of shapes as follows: APPLICATION by Rectangle DATABASE by

Prefuse example graph partly outside of JPanel

限于喜欢 提交于 2019-11-29 14:42:31
I want to use Prefuse to visualise a graph. I followed their tutorial and tried their sample application. Its sourcecode can be found here However, even if I simply copy the full code, the resulting graph does not look as displayed in the tutorial. It is only half visible, stuck in JPanel's upper left corner. Some parts of it are missing becuase they would have to be displayed outside the panel. I tried with some graphs of my own, but I keep running into the same phenomenon. I suppose this is not expected behaviour, but I have no idea where to hunt for the problem. I don't know if this is a

Prefuse Toolkit: dynamically adding nodes and edges

扶醉桌前 提交于 2019-11-28 20:41:23
问题 Does anyone have experience with the prefuse graph toolkit? Is it possible to change an already displayed graph, ie. add/remove nodes and/or edges, and have the display correctly adapt? For instance, prefuse comes with an example that visualizes a network of friends: http://prefuse.org/doc/manual/introduction/example/Example.java What I would like to do is something along the lines of this: // -- 7. add new nodes on the fly ------------------------------------- new Timer(2000, new

Prefuse及相关数据结构可视化工具

梦想的初衷 提交于 2019-11-26 11:27:10
这段时间在忙学校的SRT项目,关于信息检索可视化的。 本来打算用OpenGL做界面,后来导师说用Prefuse,恩,那是11月底,刚听说Prefuse,然后就各种百度、谷歌,CSDN上帖子也发了,发现没什么人用的·······尴尬啊! 虽然找到了Prefuse的官网,但除了源码包之外发现没什么东西,连文档都是在线版的,后来总算找到了chm格式的文档。 ( preuse-javadoc ) 国外人就是不一样,Prefuse的作者在FAQ里面列举了几个可视化工具,大牛看得上眼的,自然也是大牛~要是国内的,估计只会说我的东西最好!其他的都是垃圾~看来技术这一块,还是要“崇洋”啊! 下面列一下: Piccolo - A Java toolkit for structured 2D graphics using a scenegraph abstraction. http://www.cs.umd.edu/hcil/piccolo/ Processing - A graphics library and IDE serving as an artist's digital sketchbook. http://processing.org/ The Visualization Toolkit (VTK) - A 3D graphics and visualization toolkit.