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.

433 questions
3
votes
3 answers

How to add two edges having the same label (but different endpoints) in JUNG?

How to add two edges having the same label but different endpoints? For example, I want to add two edges having the same label 'label1', one from vertex v-1 to vertex v-2 and the other one from vertex v-2 to v-3. Part of the code would…
Dilini
  • 777
  • 8
  • 22
3
votes
1 answer

How to listen to vertex selection change in Jung 2?

how can I listen to vertex selection change in Jung 2? I've been trying with PropertyChangeListener and ChangeListener.
Daniel Cisek
  • 931
  • 3
  • 9
  • 23
3
votes
1 answer

No content while using SWING + JUNG to refresh graph visualization

I have following java code in my thread class: @Override public void run() { JFrame window = new JFrame("Visualization POC"); window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); while (true) { window.setVisible(false); …
tomi891
  • 85
  • 1
  • 5
3
votes
1 answer

GraphZoomScrollPane and VisualizationViewer dependancies

I am struck up in situation where my GraphZoomScrollPane is working really weierdly, where the scroll bars disappear suddenly after some zoom in and zoom out operations. They do come bak but with improper size and no Y? Can any one help me in this…
cathy
  • 221
  • 2
  • 5
3
votes
2 answers

How to set Vertex coordinates in Java JUNG?

I need to specify position of all graph's vertices. Is it possible? Please help.
mmr
  • 31
  • 2
3
votes
3 answers

Redraw Graph on JUNG

I build a graph using JUNG (Java Universal Network/Graph Framework) with the following code: g = new SparseMultigraph(); //add some Vertex and Edges Layout layout1 = new CircleLayout(g); layout1.setSize(new…
notGeek
  • 1,394
  • 5
  • 21
  • 40
3
votes
1 answer

Representing RDF data in JUNG graph

I'm loading RDF data into a JUNG graph to do some analysis. So I create a new graph with: DirectedGraph g = new DirectedSparseGraph(); I created a support class for specifying the link: public class GraphLink { String uri; …
Mulone
  • 3,603
  • 9
  • 47
  • 69
3
votes
3 answers

How do I install Jung2 on eclipse?

http://jung.sourceforge.net/ Can someone walk through the steps carefully for me? I have been trying for hours and I can't seem to get it. I'm using a Mac. And, I want to be able to use the Jung2 libraries while programming, using the Eclipse IDE.
Rohan
  • 33
  • 1
  • 3
3
votes
3 answers

JUNG layout question

I have some graph, which I want to display using JUNG2 like in the image below. I've played with some layouts of JUNG2, but I'm always getting an image like this: Is it possible to lay out the graph as I wish without writing a new layout? Thanks…
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
3
votes
1 answer

How to plot a node in given coordinate using JUNG

I want to virtualize my network simulations and need to plot the nodes in the network. Each node has a pre-defined location and I need to plot the nodes into the correct coordination. I am using JUNG:…
mamruoc
  • 847
  • 3
  • 11
  • 21
3
votes
2 answers

JUNG - Large graph visualization

I am currently developing a tool for visualization of metagenomics data using graphs and so the Java JUNG graph visualization library. I encounter a delay when there are around 1000 nodes being shown, either by moving the camera around or dragging…
Vlad L
  • 33
  • 5
3
votes
2 answers

Extracting a subgraph from a graph using JUNG?

I have a large graph that I am processing using JUNG. I was wondering if there JUNG provides a way to extract say a 2-hop neighborhood of a vertex (complete with all edges amongst themselves) into a separate graph?
Legend
  • 113,822
  • 119
  • 272
  • 400
3
votes
1 answer

java.lang.IllegalArgumentException: Tree must not already contain child

I have created the following jung2 visualization. My code visualizes a text into a tree. Basically I am using two inputs, one at a time: /* * INPUT 1 */ String text = "=IF(A2=1;0;IF(D2=D3;IF(C2=1;TRUE;FALSE);4))"; …
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
3
votes
1 answer

pagerank implementation in java

I am looking for a java implementation of the pagerank algorithm.
Larry
  • 31
  • 1
  • 2
3
votes
1 answer

Can Jung graphics appear in the same place every time?

I'm using JUNG ( http://jung.sourceforge.net/index.html ) to draw graphics in java. The software is great but I have a small question. How can I be sure that the displayed graph is each time the same (no changes is architecture or position)? To be…
INS
  • 10,594
  • 7
  • 58
  • 89
1 2
3
28 29