Questions tagged [jung]

JUNG is an open-source Java library for representing, manipulating, analyzing, and visualizing graph and network data.

JUNG — the Java Universal Network/Graph Framework--is a software library that provides a common and extensible language for the modeling, analysis, and visualization of data that can be represented as a graph or network. It is written in Java, which allows JUNG-based applications to make use of the extensive built-in capabilities of the Java API, as well as those of other existing third-party Java libraries.

The JUNG architecture is designed to support a variety of representations of entities and their relations, such as directed and undirected graphs, multi-modal graphs, graphs with parallel edges, and hyper-graphs. It provides a mechanism for annotating graphs, entities, and relations with metadata. This facilitates the creation of analytic tools for complex data sets that can examine the relations between entities as well as the metadata attached to each entity and relation

The current distribution of JUNG includes implementations of a number of algorithms from graph theory, data mining, and social network analysis, such as routines for clustering, decomposition, optimization, random graph generation, statistical analysis, and calculation of network distances, flows, and importance measures (centrality, PageRank, HITS, etc.). JUNG also provides a visualization framework that makes it easy to construct tools for the interactive exploration of network data. Users can use one of the layout algorithms provided, or use the framework to create their own custom layouts. In addition, filtering mechanisms are provided which allow users to focus their attention, or their algorithms, on specific portions of the graph.

430 questions
27
votes
5 answers

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

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…
user572964
  • 590
  • 5
  • 12
17
votes
4 answers

What is a maven repository url for jung2 (java graph framework)?

I am looking for a maven repository that distributes jung2 packages. Unfortunetely I can not find any information on its location. Update: I have included the cental repository repo1. central Maven Repository…
Skarab
  • 6,511
  • 11
  • 44
  • 81
13
votes
2 answers

Change Size/Color of Vertex in JUNG

How do you change the size of a specific vertex in Jung Visualization Library? I'm reading the documentation but I'm not extremely familiar with java and I can't find any good examples on line.
KWJ2104
  • 1,939
  • 6
  • 37
  • 51
11
votes
2 answers

Interactive Python Network/Graph Modeling

I'm looking for a python library that will allow me to interactively draw networks and graphs and attach data to nodes and edges. I have found two libraries for Java that seem to do what I need: JUNG and piccolo2d. Are there any python equivalents…
wkz
  • 1,780
  • 1
  • 11
  • 20
10
votes
1 answer

Automatic Layout for a Graph (JGraphX)

I have trouble to display a JGraphX with automatic layout. My program (code below) creates an output like this: A sufficiant result could be look like this (I moved them by hand): I do not have to stick with JGraphX. I also tested JUNG and…
froehli
  • 724
  • 7
  • 31
8
votes
1 answer

Jung coloring vertex with value

I'm stuck at the moment with the Java library Jung. I display vertices and edges, only I can not find any functions for vertex coloring that I need with the value of the vertices and not with the mouse. import…
Daleksek
  • 135
  • 2
  • 10
7
votes
2 answers

Improve the rendering of a JUNG graph

i am using jung to visually display large data sets, (1000s of nodes) but the system becomes very laggy when I zoom in or out, or move a node. Is there anyway to improve the rendering of graphs in JUNG ?
main2010
  • 71
  • 2
7
votes
1 answer

how can i draw a tree hierarchy using JUNG?

I'm new to JUNG. I tried to draw a graph of a tree using the TreeLayout but the tree never comes out like a real tree. Every time the tree looks different. How can I make the tree look like a normal tree with the root on top & the rest of the nodes…
Darth Plagueis
  • 890
  • 2
  • 21
  • 38
6
votes
2 answers

How to add custom vertex labels in JUNG graph visualization?

How to use custom vertex labels in JUNG graph visualization? I am following Jung 2.0 Tutorial where I found that setVertexLabelTransformer() can be used to label the vertices, but these labels cannot be customized, to my knowledge. For example, the…
Dilini
  • 759
  • 8
  • 22
6
votes
4 answers

Exporting JUNG graphs to hi-res images (preferably vector based)

In one of my projects I use JUNG2 to visualize a very large multiple-parent hierarchy graph, displayed in an applet. I would need to export the whole/parts of the graph to high resolution still images, since screenshots look hideous when printed…
posdef
  • 6,196
  • 10
  • 40
  • 85
6
votes
1 answer

Vertex label in JUNG graph visualization

I wrote a little graph visualizer class: public void simpleGraph(SparseMultigraph graph, String name) { Layout layout = new ISOMLayout(graph); layout.setSize(new Dimension(800,800)); …
Martin Preusse
  • 8,340
  • 8
  • 43
  • 73
6
votes
4 answers

JUNG: save whole graph (not only visible part) as image

I've been looking around for solutions to my question, but nothing does exactly what I want. What I want to do is save a whole JUNG graph (with custom vertex and edge rendering) to an image (PNG or JPEG). When I save the VisualizationViewer to a…
dylan202
  • 349
  • 3
  • 13
5
votes
2 answers

Java graph library for visualising flowchart-like diagrams

I'm in the process of making an interface for drawing flow chart like diagrams (essentially circuit diagrams) that contain nodes that look like the following: +-------+ in1 -->| |---> out1 | | in2 -->| | | …
maltbar
  • 99
  • 1
  • 5
5
votes
2 answers

writing JUNG graphs to images: can't reliably render complete graph

I've been using JUNG to visualize some simple graphs, and I'd like to write several of them to a PNG file. Unfortunately, the images often appear to render before the graph is finished painting, meaning that I get incomplete graphs -- that is,…
Chris
  • 500
  • 4
  • 15
5
votes
1 answer

Code jumps out of a jar and runs? What is causing this?

I am trying to get a sample program working with JUNG, a graphing tool in Java. I downloaded and referenced all the .jar files in eclipse so my project hierarchy looks like this: alt text http://img638.imageshack.us/img638/6787/hierarchy.png In…
Mike
  • 1,471
  • 6
  • 17
  • 22
1
2 3
28 29