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

Is there a good free implementation of Sugiyama Layout for Java?

I am using JUNG library for network-graphs. I also found an implementation of the sugiyama layout: http://sourceforge.net/tracker/?func=detail&aid=2944336&group_id=73840&atid=539121 But unfortunatly its edge-crossing method seems not to work and I…
Matthias
  • 1,200
  • 2
  • 13
  • 33
5
votes
0 answers

JUNG on Android

I have been trying to figure out how to use JUNG (http://jung.sourceforge.net/) on Android. As far as I know the Android SDK does not support swing. Is there an Android port of the JUNG renderer or some tool that will convert swing code into the…
5
votes
3 answers

How to copy a graph in JUNG 2.0 framework?

in JUNG 1.7.6 there was the function copy() for this purpose (myGraph.copy()), but in JUNG 2.0 this function does not exist anymore. I could not find any other possibility to create a copy of a graph object. I would be very glad if someone could…
user1377963
  • 115
  • 1
  • 9
4
votes
1 answer

Using SWI-Prolog with Eclipse and Java (and JUNG): Should I use ProDT, PDT, or both?

I want to use SWI-Prolog, Eclipse, and Java together and I have two interrelated related issues: I don't know if I should use ProDT, PDT or both in combination. PDT says that it includes a "subsystem that enables Java code to interact with…
Quine42
  • 141
  • 2
4
votes
1 answer

JUNG - How to get the giant connected component of a graph?

Currently, what I'm doing is: WeakComponentClusterer wcc = new WeakComponentClusterer(); Collection> ccs = FilterUtils.createAllInducedSubgraphs(wcc.transform(graph),graph); The problem is…
Paulo
  • 267
  • 4
  • 14
4
votes
2 answers

is it possible to create a java applet, during execution of another java application

I have been developing a Java application which executes a long series of queries and calculations, and presents its results as a series of HTML pages. For visualizing graphs I have been playing around with JUNG library for a while, and it appears…
posdef
  • 6,498
  • 11
  • 46
  • 94
4
votes
2 answers

port JUNG into GWT

there is a very good java graphing library JUNG I wonder if there exists any GWT library that does what JUNG do ? i'm aware there exist a commercial Javascript graphing library mxGraph. But mxGraph is very expensive and have a very restrictive…
othman
  • 4,428
  • 6
  • 34
  • 45
4
votes
1 answer

apply graph analysis on networked data represented with RDF

I want to run some analysis on networked data having multiple modes(i.e. multiple types of network nodes) and multiplex relations(i.e. multiples types of network edges). The analysis is probably about SNA or applying any algorithm from graph theory,…
rnd_nr_gen
  • 2,203
  • 3
  • 36
  • 55
4
votes
1 answer

How to move JUNG nodes(vertices) by changing their location in the code and not by mouse?

I am implementing an interface for creating graph nodes and connecting them using JUNG. I want to create some nodes that can move from one existing node to another node using the edge between two nodes as their path (It will be used for showing some…
Freelancer
  • 836
  • 1
  • 14
  • 47
4
votes
3 answers

JUNG cannot display large graphs?

I am using JUNG for a project and when I am displaying relatively large graphs eg 1500 nodes, my pc would not be able to handle it (graphs are rendered but If I want to navigate the graph the system become very slow). Any Suggestions.
Ali
  • 617
  • 10
  • 25
4
votes
1 answer

How can I integrate stanford parser software in my java program?

I have to develop a project in java that uses a Stanford parser to separate the sentences and has to generate a graph that shows the relation between the words in a sentence. for example: Ohio is located in America. Output: the image shows the…
Vishnu Kumar
  • 59
  • 1
  • 2
  • 7
4
votes
4 answers

Pop-up menu using mouse rightclick in JUNG

I want to create a pop-up menu, which will appear if i right clicked on the canvas . How can I do this? which function should i modify? Any help would be appreciated.
Fadhlie Ikram
  • 119
  • 2
  • 14
3
votes
2 answers

How to manually set the zoom on a Jung visualisation?

I have a jung tree displayed in a JPanel. The constructor of my tree looks like this: Forest graph = new DelegateForest(); static GraphZoomScrollPane panel = null; static DefaultModalGraphMouse graphMouse =…
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236
3
votes
2 answers

JUNG2 - how to set custom egde color/thick transformer

In my app i want to set every egde with diffrent style. It can be edge colour or edge thickness. I've read about transformers in JUNG, but i didn't find anytging useful. Do you know any way to set specific colour or line thickness to specific edge?…
przebar
  • 531
  • 1
  • 5
  • 19
3
votes
1 answer

Is there a way to connect jung to a save/write to a database?

I'm working with graphs and jung seems to work fine so far in my test environment(its a few thousand nodes), but the real data will create several million nodes every day(its a directed graph so we may be able to sperate the nodes by days so we…
Lostsoul
  • 25,013
  • 48
  • 144
  • 239
1
2
3
28 29