Questions tagged [prefuse]

Prefuse is a set of software tools for creating rich interactive data visualizations in the Java programming language.

Prefuse is a Java-based toolkit for building interactive information visualization applications. Prefuse supports a rich set of features for data modeling, visualization, and interaction. It provides optimized data structures for tables, graphs, and trees, a host of layout and visual encoding techniques, and support for animation, dynamic queries, integrated search, and database connectivity. Prefuse is written in Java, using the Java 2D graphics library, and is easily integrated into Java Swing applications or web applets. Prefuse is licensed under the terms of a BSD license, and can be freely used for both commercial and non-commercial purposes.

The home page may be found at http://prefuse.org
Source code and demo can be found at https://github.com/prefuse/Prefuse

76 questions
2
votes
0 answers

prefuse: useful layout for directed mostly-acyclic graph?

I have a moderately complex graph (500-1000 nodes) representing function calls in a program, so it is almost completely acyclic, and mostly tree-like (e.g. occasionally there are multiple paths from one subroutine to another, but usually not). I…
Jason S
  • 184,598
  • 164
  • 608
  • 970
2
votes
0 answers

How to create a clustered bar graph using Prefuse?

I was able to create a single bar graph using the code from Samir Talwar by modifying the renderer as the following: vis.setRendererFactory(new RendererFactory() { Renderer yAxisRenderer = new AxisRenderer(Constants.RIGHT, Constants.TOP); …
chaky
  • 31
  • 8
2
votes
1 answer

Prefuse graph manually set force parameters

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…
anjuta
  • 333
  • 3
  • 12
2
votes
0 answers

How to customize the renders in prefuse. Problem in customize images in prefuse layout

HI all, I have written a java application to show the images in different layouts. I am able to show it different layout correctly but some times the images are overlapped. In my application having more than 20/30 nodes and couple of nodes having…
Ravikumar
  • 41
  • 5
2
votes
2 answers

Problem in displaying nodes through PREFUSE library for Java?

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
Amit
  • 33,847
  • 91
  • 226
  • 299
2
votes
2 answers

Prefuse: Reloading of XML files

I am a new to the prefuse visualization toolkit and have a couple of general questions. For my purpose, I would like to perform an initial visualization using prefuse (graphview / graphml). Once rendered, upon a user click of a node, I would like…
John
2
votes
1 answer

Manhattan layout algorithm

I am looking for any of the following (in order of preference): A Manhattan layout EdgeRenderer for prefuse. A Manhattan layout for prefuse. An algorithm to produce Manhattan layouts for hierarchical, directed acyclic graphs. An organizational…
Dave Jarvis
  • 30,436
  • 41
  • 178
  • 315
1
vote
1 answer

Prefuse freezes JFrame

We are calling web services to gather information for a graph with about 1500 nodes. We are displaying the graph in Prefuse while it continually is adding nodes and edges. Most of the time this seems to work great, but every once in awhile the…
Jay Askren
  • 10,282
  • 14
  • 53
  • 75
1
vote
1 answer

flare prefuse Dependency Graph error

I am using Flash Builder 4 to display a dependency graph. The source code is in this location - dependency graph sample application I get the error - A file found in a source-path must have the same package structure '', as the definition's…
1
vote
1 answer

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

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…
Samir Talwar
  • 14,220
  • 3
  • 41
  • 65
1
vote
1 answer

Prefuse : Organizing edges for clarity

I'm working on my personal family tree in Java/Eclipse, and happily bumped into prefuse as for graphic representation. So far the result looks adaquate in regard to my database feed, but I'm still missing key points to make it easier to browse.…
yorran
  • 21
  • 4
1
vote
1 answer

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

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…
peteorpeter
  • 4,037
  • 2
  • 29
  • 47
1
vote
0 answers

How to pass bounds to Nodes for layoutting, with the Prefuse-library

I am using the Prefuse-library to layout nodes in a JavaFX application (no Swing at all), and I'm particularly interested in the RadialTreeLayout. My problem is, that my nodes are not simply circles, but they have a label too next to them on left or…
user38725
  • 876
  • 1
  • 10
  • 26
1
vote
1 answer

Creating a Table data structure in Prefuse

I'm trying to creating a Graph instance in Prefuse through the following approach: Graph(Table nodes, Table edges, boolean directed) /* Create a new Graph, using node table row numbers to uniquely identify nodes in the edge table's source and…
user533203
  • 81
  • 1
  • 1
  • 4
1
vote
0 answers

Drawing graph from Hashmap using Prefuse in Java

I have a hashmap and I want to draw a graph with it. All the values of the hashmap will be node and they will all be connected with a single common node given by user. Also, the keys of the hash map will be used to label the directed edge between…
The Madman
  • 41
  • 8