prefuse

How can I produce visualizations combining network graphs and imaginary maps?

随声附和 提交于 2019-12-04 20:10:06
Basically, I'm looking for something like this awesome research project: Gmap , which was referenced in this related SO question . It's a rather novel data visualization that combines a network graph with an imaginary set of regions that looks like a map. Basically, the map-ification helps humans comprehend the enormous data set better. Cool, huh? GMap doesn't appear to be open source, though I plan to contact the authors. I already know how to create a network graph with a force-directed layout (currently using Prefuse/Flare), so an answer could be a way to layer a mapping algorithm on top of

Creating data in Prefuse

早过忘川 提交于 2019-12-03 08:24:13
I am new to Prefuse. The demo examples are all loaded data from a file/database. Is there any way to create the data dynamically instead of loading from file. For example, I want to create a tree data structure and visualize this. Any simple working example would be really helpful for me. I've just been attacking this problem. Here's a tweaked version of Example.java which shows one way to make it happen. Instead of loading data from socialnet.xml , I'm generating it programatically (based on Aggregate.java but without the aggregation stuff) and adding one field to each Node and each Edge .

Is there a python equivalent of the prefuse visualization toolkit?

ぃ、小莉子 提交于 2019-12-03 06:15:45
问题 The prefuse visualization toolkit is pretty nice, but for Java. I was wondering if there was something similar for python. My primary interest is being able to navigate dynamic graphs. 回答1: I know this is not exactly python, but you could use prefuse in python through jython Something along the lines of: Add prefuse to your path: export JYTHONPATH=$JYTHONPATH:prefuse.jar and >>> import prefuse from your jython machinery this guy has an example of using prefuse from jython here 回答2: You might

comparing open source java graph drawing frameworks(JUNG and Prefuse) for drawing network topology

僤鯓⒐⒋嵵緔 提交于 2019-12-03 03:40:02
问题 which of the open source Java graph drawing frameworks to use for a network diagram with the following requirements? The graph will have less than 1000 nodes. 1) has parallel edges 2) directed and undirected edges within a single graph 3) nodes represented by images 4) user interaction with nodes and edges 5) dynamically adding/deleting nodes and edges 6) multiple labelling on nodes and edges , different levels of labelling can be turned off/on by users. (like drawing in layers and turning

Is there a python equivalent of the prefuse visualization toolkit?

跟風遠走 提交于 2019-12-02 19:38:11
The prefuse visualization toolkit is pretty nice, but for Java. I was wondering if there was something similar for python. My primary interest is being able to navigate dynamic graphs. I know this is not exactly python, but you could use prefuse in python through jython Something along the lines of: Add prefuse to your path: export JYTHONPATH=$JYTHONPATH:prefuse.jar and >>> import prefuse from your jython machinery this guy has an example of using prefuse from jython here You might want to check out SUMMON , a visualization system that uses python but handles fairly large data sets. There's an

Prefuse graph manually set force parameters

a 夏天 提交于 2019-12-02 04:06:40
问题 Like here, my Prefuse graph is too dense to see anything. So I tried the approach suggested by @bcr in the accepted answer. However, it does not work for me. This is what I tried: I retrieved the default settings. Then I changed the 2nd parameter of NBodyForce from ForceSimulator (called Distance ) and the second parameter of SpringForce (called DefaultSpringLength ) and fed them—along with the other default values—into my new ForceSimulator . But nothing in the output changed. What am I

Prefuse : Adding edge weights to the GraphView Demo

笑着哭i 提交于 2019-12-02 02:26:08
问题 I am using the prefuse visualization toolkit, The GraphView Demo in the toolkit is amazing providing a variety of controls to visualize the data. I am able to generate GraphML for my dataset and visualize it using GraphView, One additional thing that i would love to have is to label the edges with weights or color coding to demonstrate the strength between two nodes. Any input about the same are greatly appreciated..Thanks.. 回答1: Disclaimer: I haven't worked with the API just checked the

Prefuse : Adding edge weights to the GraphView Demo

拥有回忆 提交于 2019-12-02 01:28:13
I am using the prefuse visualization toolkit, The GraphView Demo in the toolkit is amazing providing a variety of controls to visualize the data. I am able to generate GraphML for my dataset and visualize it using GraphView, One additional thing that i would love to have is to label the edges with weights or color coding to demonstrate the strength between two nodes. Any input about the same are greatly appreciated..Thanks.. Disclaimer: I haven't worked with the API just checked the documentation:) It seems that the API has an EdgeRenderer interface that you should implement to achieve the

Prefuse graph manually set force parameters

半腔热情 提交于 2019-12-02 00:50:13
Like here , my Prefuse graph is too dense to see anything. So I tried the approach suggested by @bcr in the accepted answer. However, it does not work for me. This is what I tried: I retrieved the default settings. Then I changed the 2nd parameter of NBodyForce from ForceSimulator (called Distance ) and the second parameter of SpringForce (called DefaultSpringLength ) and fed them—along with the other default values—into my new ForceSimulator . But nothing in the output changed. What am I getting wrong? This is my code: private static void visualiseGraph(Graph graph) { Visualization vis = new

How do I create a bar chart using the Java prefuse library?

旧时模样 提交于 2019-12-01 13:18:53
I've currently got prefuse to plot a scatter graph, where the X axis is the computer name and the Y axis is its temperature. How do I get it to draw bars showing the values instead of discrete points? I'm currently using the following code to render the points: ShapeAction shape = new ShapeAction(group, Constants.SHAPE_RECTANGLE); ColorAction strokeColor = new DataColorAction(group, dataType, Constants.NUMERICAL, VisualItem.STROKECOLOR, colorPalette); ActionList draw = new ActionList(); draw.add(shape); draw.add(strokeColor); draw.add(new ColorAction(group, VisualItem.FILLCOLOR, 0)); draw.add