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
0
votes
2 answers

How to use Factory from apache.commons?

What are the uses of the java code in: org.apache.commons.collections15.Factory Is there documentation (I cannot find anything useful) How do I use this to instantiate objects of type: Factory, Factory in the constructor of the…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
0
votes
1 answer

Jung Graph Package and Factory Patterns

I am trying to initialize each of the following where the Graph Object comes from the JUNG graph package (Factory comes from org.apache.commons.collections15): Factory> graphFactory; Factory
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
0
votes
1 answer

How do I initialize vertex locations in a custom JUNG layout?

How do I initialize a new layout with vertex positions known beforehand? I have created a custom JUNG layout class: public class CustomLayout extends AbstractLayout { AbstractLayout subLayout = null; final int WIDTH = 500; final int…
sdasdadas
  • 23,917
  • 20
  • 63
  • 148
0
votes
0 answers

Visualize JUNG example in existing frame

I am trying to use one of the JUNG visualisation examples in the project that I am working on. The examplecode (provided by JUNG) that I want to use looks like this: package TreeVisualiser; import java.awt.BorderLayout; import…
JasperTack
  • 4,337
  • 5
  • 27
  • 39
0
votes
1 answer

how to find if two vertices are connected with Jung Framework?

I want to know how to check if two vertices are connected in a graph using Jung Framework. Thanks.
ali asad
  • 1,329
  • 4
  • 17
  • 23
0
votes
1 answer

adding a node to a collection using JUNG2

I am trying to add a node like this ( C.add(n))) I have this problem: Exception in thread "main" java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableCollection.add(Unknown Source)) Non-executable code…
Delel
  • 1
  • 1
0
votes
1 answer

Vertex painter encounter error when loading vertex and edges from database

Im building simple family tree application and using Jung to draw the chart. So far I am able to draw and save the chart into embedded database using sqlitejdbc from zentus. I've yet create the function to clear the canvas though, so I have to…
Fadhlie Ikram
  • 119
  • 2
  • 14
0
votes
1 answer

Visualizing multiple layouts in jung

I am creating a RadialTreeLayout of a graph using JUNG. Now I want to see one more RadialTreeLayout of another graph (with same type of vertices and edges) as a part of the main layout. The problem is not of uniting the two graphs (as explained…
Anjali
  • 25
  • 1
  • 6
0
votes
1 answer

mouseEntered a JUNG2 vertex

I am looking for the "correct" way to show a custom Component as a popup when I mouseover a Vertex in JUNG2. This question is essentially the same as Jung2: How to implement displaying details of a node on mouse over of a Node? but that person seems…
fommil
  • 5,757
  • 8
  • 41
  • 81
0
votes
1 answer

Display vertex information using JUNG library

When a user clicks on a vertex i want to set visible a panel that displays (some of) the vertex's properties (The JUNG tutorial explains the same behavior using PopUp menus). Could someone plz give explain which plugin i have to use for that? thanks…
0
votes
1 answer

How to use JUNG to draw a graph in a GEF editor

Is it possible to use a JUNG graph to display model data in a GEF Editor for an RCP application, rather than using Figures, etc. from GEF itself? I'd like to use JUNG to draw a graph for my model, but still be able to use stuff like the flyout…
QueNuevo
  • 105
  • 12
0
votes
1 answer

Output a JUNG visualisation to PDF using iText

I'm trying to output a JUNG network to a PDF using the iText library. Many solutions seem to display the graph in a frame before using a library to capture the screen and output this to some format such as EPS. However, my application will…
Ryion
  • 25
  • 3
0
votes
1 answer

Is it possible to use JUNG/Graphviz Layout-/Arrange-functions within a GEF / GMF Project?

I want to build an graphical editor that draws and modifies graphs. The GEF-given "Auto-Arrange"-function is kind of too simple and not customizable. Is it possible to get JUNG/Graphviz auto-layouting and/or -arranging functions into my GEF editor?
fachexot
  • 491
  • 1
  • 8
  • 24
0
votes
2 answers

How do I add a JLabel to a JUNG graph?

I'm trying to add a label to my graph, but can't get it out of the default center position. This is what I have right now in my update method (it refreshes the display): Graph graph = getGraph(); BasicVisualizationServer
Josh
  • 6,944
  • 8
  • 41
  • 64
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
1 2 3
28
29