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
0
votes
1 answer

JUNG - How can MouseOver change thicknes of Vertex and Edges

I'm developing a tool and want, that user can simply choose a vertex or edge. Now, i'm looking for a way how to change the thickness(highlighting) of a vertex or edge during hovering with the mouse. And I want increase the size of a vertex or edge,…
Serior
  • 1
  • 1
0
votes
0 answers

JUNG: Graph only show after I click and resize the frame

I am using JUNG to generate some graphs, however I found something weird with the final product where the graph does not paint anything after I click the button to execute on the given data. But it will show up after I resize the frame, or after I…
lagunaloire
  • 81
  • 3
  • 9
0
votes
0 answers

JUNG: How to place arrowheads correctly with dynamically resizing vertex shapes?

Intro I'm working on a project, that renders the vertices in a graph in different sizes (according to their relative workload). Problem How I expected it to work This is what happens when I turn off the dynmaic resizing of vertices: So here…
Jan
  • 2,025
  • 17
  • 27
0
votes
1 answer

Graph Types; The type hierarchy for graphs (JUNG, JUNG2)

i am reading your Paper reagardin JUNG-Library. I have seen on Page 8-9 Paper about JUNG the graphtype hierarchy. In "Figure 1" is the Superinterface ,,ArchetypeGraph'' ,which have two subinterfaces ,,Graph'' and ,,Hypergraph'' BUT in Javadoc…
0
votes
1 answer

GraphZoomscrollPane or Scrollbar on Layout; My dynamisch Graph endet wide out of Screen

Can anybody tell me how can in build a scrollbar on my Layout. Some vertices from my Graph are endet away from Screen. I cant be able see them or scroll them . If i do zoom (out) then the vertices will be very small, so that i cant see any edges or…
0
votes
1 answer

How can I get Coordinates from the Vertices (Typ: String)

I have created a directed Graph (see below). I want to get Node Coordinates from Typ: String. Graph graph ; How can I do this?
0
votes
1 answer

Fixing Vertices in Layout (KKLayout) JUNG/JUNG2

I am new here.. MY Question : i have used KKLayout for visualization a graph. The Graph is created in while-Loop (after each iteraion) after a new Calculation and every time the vertices is placed on random Locations/Postions. I want to fix them,…
0
votes
0 answers

Edges getting multiply wrongly

I have two questions: 1) I have developed a network retrieving data from MySQL database. I was trying LayoutChooser using combo box. But while running the program, I got the following output. Edges are getting multiplied. I have enclosed my coding.…
Steffi Matchado
  • 134
  • 2
  • 10
0
votes
1 answer

how to insert settooltiptext for one vertex retrieved from MYSQLdatabase

I have developed a MySQL database with 3 different columns. Among three columns, I used 2 columns to develop a network using JUNG. Now if I place a mouse over the vertex, the corresponding information from the third column should be displayed. I…
Steffi Matchado
  • 134
  • 2
  • 10
0
votes
1 answer

Re-layout JUNG graph after adding vertices

Suppose I have a JUNG graph visualized then later wants to add vertices and edges to the graph. I tried to repaint the viewer but the layout for the new vertices are not right: UndirectedGraph g = new…
TwiNight
  • 1,852
  • 1
  • 17
  • 27
0
votes
1 answer

Arranging the vertices based on the number of edges in jung

I have created a network based on interactions. Some vertices have more interaction and some has less interaction. I have to display the vertex with more interaction at the center of the network and other vertices should lie around the central…
Steffi Ma
  • 70
  • 9
0
votes
1 answer

Customizing edge colour in JUNG

I am trying to customize the edge based on the condition which is related to one database. But i couldn't get the proper output. Ive tried the bellow code. Transformer edgePaint = new Transformer() { public…
Steffi Ma
  • 70
  • 9
0
votes
1 answer

jung-visualization build fails

I'm having an issue compiling the guava branch of jung found here. The jung-visualization's PluggableRenderContext.java has a compile error. It appears this problem has come up before as visible by this Google search, but the link redirects to the…
eric.mcgregor
  • 3,507
  • 2
  • 16
  • 16
0
votes
0 answers

Connecting 2 Jframes with JUNG

I have created 2 JFrames and tying to link two JFrames Windows together. But i couldnt get the content in the 2nd Jframe. Can anyone help me with this? My first Frame: public class Main extends JFrame { private JPanel contentPane; public static…
Steffi Ma
  • 70
  • 9
0
votes
1 answer

how to insert settooltiptext for one vertex in a graph?

I would like to move the mouse over an vertex which was plotted on a JFrame using JUng class and displaying some additional message for that vertex. But I don't know how to set setToolTipText for a vertex. Is there any way? please help me with this
Steffi Matchado
  • 134
  • 2
  • 10