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
0
votes
1 answer

How to show rectangle shape for a node through PREFUSE visualization toolkit for JAVA?

I have coded the following code(some excerpts of the code) to display a node as rectangle but it is no working. It is just displaying a simple node. Code excerpts: ... ShapeAction nodeShape = new NodeShapeAction(treeNodes); // treeNodes is a…
Amit
  • 33,847
  • 91
  • 226
  • 299
0
votes
1 answer

Prefuse set different color to every nodes group

I am new to prefuse and don't understand several things regarding nodes. How can I get an event raised whenever a node clicked? How can I group similar nodes with the same color? How can I keep an extra meta-data on every node? Its important to…
Oz Radiano
  • 779
  • 2
  • 11
  • 30
0
votes
1 answer

How to visualize a table using Prefuse with typical functions of JTable

My question is: how to display a table information in prefuse? I found GridLayout might be relevant. But I don't know how to exactly draw a table using prefuse, like a JTable looking and the typical functions like getRow, selectColumn, mouseClick…
AnneS
  • 1,493
  • 3
  • 14
  • 19
0
votes
1 answer

prefuse visualization toolkit, trouble reading xml file

I am new to prefuse so I created a toy project but it seems I always have trouble with reading xml file: public class testProfusion { public static void main(String[]args){ Graph graph = null; try { graph = new…
Yuan Vivien Wang
  • 35
  • 1
  • 1
  • 4
0
votes
1 answer

Prefuse - is it possible to translate keys used in legend?

I'm using prefuse library for Java. Everything seems to be working fine, however my application won't be used in English language. I need to translate the used keys and words (for example in legend or search) to other language (Slovak for…
Hawk
  • 392
  • 4
  • 24
0
votes
1 answer

What are prefuse data groups and how do I put nodes into them?

Many components of prefuse seem to use a String group to identify some subset of data. How do you use groups in practice? Some documentation seems to imply that a single row of data can belong to multiple groups, but I cannot work out how to make…
Phoebe
  • 2,774
  • 3
  • 22
  • 27
0
votes
1 answer

Java Prefuse graph copying a node to another graph

I have a 2x2 grid of graphs in JPanels. In the top left graph i have a load of nodes, when I click on a node I want that node to be copied to the next graph so it appears there. Firstly I am making the graphs Then I add data to the top left…
amlwwalker
  • 3,161
  • 4
  • 26
  • 47
0
votes
1 answer

Prefuse API java creating edges

I am using prefuse lately to make some visualizations. What I do is I load some information from a database, make a prefuse table instance for them and make a graph based on that information. This works fine. My question is how can I create the…
kafou
  • 1
  • 1
0
votes
1 answer

prefuse axis title

How does one go about giving a title to the axis in prefuse scatter plot? At the moment my code reads the data from the file and a range for both x and y axis works in the code. All I need to do now is to add titles/names for the axis. The code I…
kzo
  • 1
  • 1
0
votes
1 answer

Read gml file using GraphML Reader Prefuse

I am new to Prefuse.I am facing problem reading the polbooks.gml file using GraphML Reader. It can successfully read a xml file but not a gml file.Please suggest a solution how to read a gml file in Prefuse. Below is my code for GraphML…
skjindal93
  • 706
  • 1
  • 16
  • 34
0
votes
1 answer

Prefuse email visualization in jsp page

We are working on a web application (dojo/jsf/spring/ibatis framework) and one of our jsp pages should show a force directed graph of email communications. The graph should also be interactive. For example when a user clicks on a node(for ex person…
0
votes
2 answers

SpecifiedLayout in Prefuse does not work

I have a problem using the SpecifiedLayout in Prefuse. I want to set some nodes in positions that are already predefined. I have tried using the AxisLayout. The nodes are set into the right position, but then I can´t really use the options of…
0
votes
1 answer

Display tree nodes in DFS order with prefuse

Is it possible to display a node at a time,as a reaction to a button click lets say, from a prefuse tree structure in DFS order using prefuse visualization primitives and if so, how?
0
votes
1 answer

Reload a prefuse Tree stucture?

I need to visualize an xml file with prefuse,but due to its size I must load only parts of the file at a time and represent them as a tree strucure in prefuse.I managed to load and visualize the first tree,consisting of all the xml elemts up to…
0
votes
2 answers

How to update Prefuse or JUNG graphs when their source GraphML files are modified?

I am rendering a graph from a GraphML source file using either JUNG or Prefuse. Now another program updates this source file periodically with new nodes and edges. I want to update the graph to reflect these changes as well. I cannot find anything…
xkcd
  • 414
  • 5
  • 19