Questions tagged [jung2]

General framework for the modeling, analysis, and visualization of graphs.

JUNG — the Java Universal Network/Graph Framework--is a software library that provides a common and extendible 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.

http://jung.sourceforge.net/

90 questions
1
vote
1 answer

Vertex label color in Jung visualization

I've created a graph with Jung and I'm looking into visualization options. I'm trying to change the color of the vertex labels, don't care if they are picked/unpicked, just from the get-go. I.e. I want to paint the vertex labels white, leave edge…
D T
  • 13
  • 3
1
vote
0 answers

How to change the layout clicking button in jung

I am using an SpringLayout2 for my graphical visualization. I have added Jbutton in order to change the layout by clicking this button.How can do this? can i do with LayoutTransition?. Ive tried the following code. JButton layout1 = new…
Steffi Ma
  • 70
  • 9
1
vote
1 answer

GraphZoomScrollPane doesn't render content

I use JUNG framework to build my Semantic Tree and I have a big problem cause my Tree is very large and i need and scroll bars. I've found somewhere that GraphZoomScrollPane is the best option to do this, but when i try to render my graph using this…
1
vote
1 answer

JUNG force directed graph

I am trying to build a force directed graph in JUNG, similar to the ones you can create (very easily) in D3.js. Most of it is very simple but the docs are a bit old and the examples dont include a force directed one (although there is a java applet…
atmd
  • 7,430
  • 2
  • 33
  • 64
1
vote
2 answers

How to draw same edge name by JUNG2

I am doing a draw network topology project by JUNG2, now found JUNG2 couldn't draw same edge(name) on different vertex. And report follow: Exception in thread "main" java.lang.IllegalArgumentException: edge…
frank
  • 53
  • 1
  • 8
1
vote
0 answers

How to pause JUNG "animator" (given an IterativeProcess) by using Thread Sleep?

I am impelementing an interface by JUNG library for moving agents(that are JUNG nodes) between nodes. When I command the agent to move from node 1 to node 2 , and before the agent's trip to node 2 has finished I command the agent to move to node…
Freelancer
  • 836
  • 1
  • 14
  • 47
1
vote
2 answers

connecting vertices in jung by edges results in another extra vertex being created

I am implementing an interface for taking commands for creating , connecting and coloring vertices in JUNG when I want to connect two already existing vertices JUNG connects to vertices and creates an extra vertex , why? Here is my code for connect…
Freelancer
  • 836
  • 1
  • 14
  • 47
1
vote
1 answer

Jung: Add legends to the frame

I need to add legends to my frame to show the meaning of different colored links and nodes. Does Jung have some in built legend functionality? Or do I need make my own by adding an extra panel to the right.
2c00L
  • 495
  • 12
  • 29
1
vote
1 answer

How can I group Vertices in jung?

I began to learn Graph modeling with JUNG. I actually have two questions: 1. Is there any way I can group some vertices? Like draw a box around them? 2. Do JUNG support edges without a source vertex? If this is a normal edge: a -> b. I want to say…
Lao Tse
  • 171
  • 3
  • 12
1
vote
1 answer

JUNG:How to add different color edge in the same graph

I am developing one application using Jung2 which will show the connection type between two point,there is two different type of connection are available.I want to show each type of connection using different color.For that i want to add two…
Anupam Maiti
  • 1,570
  • 1
  • 19
  • 35
1
vote
1 answer

what's the best way to clone a graph in Jung?

the title pretty much sums it all - I'm using Jung as my graph model and I want to clone my graphs. is there a best-practice for this? thanks
Amir Arad
  • 6,724
  • 9
  • 42
  • 49
1
vote
2 answers

How to reverse Jung DirectedGraph?

I am using JUNG DirectedGraph and I need to transform a given directed graph to a reversed graph, so that the newly created graph contains all vertices and edges from the original graph and all edges in the new graph are reversed. I need to perform…
Leonid B
  • 325
  • 1
  • 4
  • 14
1
vote
0 answers

Mixed type graph in JUNG, does not show arrows when graph is filtered with a vertex predicate

I have a mixed type graph (SparseMultiGraph) in JUNG and and have managed to get edge arrows on my edges by adding the show edge arrows preicate, but when the I filter the graph (to only show a subportion) first using a VertexPredicateFilter the…
1
vote
1 answer

Edge label above the edge

I'am using JUNG2 to visualize my graph. I would like to ask if is there anyway to put edge label above the edge not exactly on it? Thx in adv.
ZeeLoony
  • 60
  • 7
0
votes
1 answer

Observable Network + Network Event + Network Event Listener for Jungrapht

I am porting an application from the use of JUNG to using JUNGRAPHT. I'm wondering whether JUNGRAPHT will have ObservableNetwork, NetworkEvent and NetworkEventListener? JUNGRAPHT is a great opportunity to improve on JUNG so I wouldn't suggest adding…
Matt R
  • 5
  • 2