Share

Java Universal Network/Graph Framework

Code

Programming Languages: Java

License: BSD License

Repositories

browse code, statistics, last commit on 2009-10-26 cvs -d:pserver:anonymous@jung.cvs.sourceforge.net:/cvsroot/jung login

cvs -z3 -d:pserver:anonymous@jung.cvs.sourceforge.net:/cvsroot/jung co -P modulename

Show:

What's happening?

  • borderWidth in Layout should be a variable

    There is a problem when using big Vertex-Icons because they dont fit in the Window. In FRLayout. java line 201 the borderwidth is calculated by double borderWidth = getSize().getWidth() / 50.0; This may work for some kind of icons. But for my Vertex-Icons with 64x64 it didn't work. The nodes werde outside of the visible area. I had to manually set borderwidth to 70. Proposal...

    2009-11-14 15:35:21 UTC by brunni

  • NPE with KleinbergSmallWorldGenerator

    Hi, I'm trying to use the KleinbergSmallWorldGenerator to generate a graph, however I run into a NullPointerException when running the code. Could someone help me with what's wrong? The exception stack trace is: Exception in thread "main" java.lang.NullPointerException at...

    2009-11-14 08:21:14 UTC by disgoseek

  • Comment: NullPointerException in PluggableRendererDemo

    I can't replicate your bug - are you using the latest version of the cvs? Can you detail what other boxes/settings are checked?.

    2009-11-12 14:33:46 UTC by shearn89

  • Getting subgraph

    Hi! I have connected, directed (this property is not important here) graph G. I need to obtain its ANY connected subgraph, say H, of a given size. Is there any procedure in JUNG to do that? If no, I need to make BFS on underlying undirected graph :(.

    2009-11-10 22:11:59 UTC by adamjava

  • Followup: RE: Problems with icon vertices

    Hi, I've probably found the bug. I haven't used the VertexIconShapeTransformer. Another question: I've got a custom Vertex class, can I use the setIconMap() of the VertexIconShapeTransformer anymay? Because it expects a Map with the parameters and my map is , and I cannot call this method out of my class. Thanks for any help. Greets Heidi.

    2009-11-10 13:23:01 UTC by heidilein

  • Displaying group of nodes

    Hi, I was wondering if it is possible to display group of nodes using JUNG2. For example, say I have node A,B,C & D. Node A, B & C are connected to each other ( clique cluster of three nodes connected to each other). And Node D is connected to node C. I was wondering if I can some how display node A,B & C is one group and node C & D is another group. May be draw big gray circle (like...

    2009-11-09 01:07:30 UTC by Tejesh

  • Overlapping of vertices

    Hi all, Currently I am working with an UndirectedSparseMultigraph g about 60 vertices. I used the FRLayout2 for this graph. So I have the following settings: Layout layout = new FRLayout2(g); layout.setSize(new Dimension(550,550)); BasicVisualizationServer vv = new BasicVisualizationServer(layout); vv.setPreferredSize(new...

    2009-11-06 14:57:07 UTC by bleongki

  • Followup: RE: Paint For selected vertexes with same text

    One more note. Sometimes, things work just fine and the nodes work seperately as they should. Josh.

    2009-11-06 13:28:35 UTC by jjames41

  • Paint For selected vertexes with same text

    Hi. I am running out of ideas trying to trouble shoot a problem. My goal is that the selected vertex will be colored the color I choose. The problem I am having is that when I have two vertexes with the exact same label, I am getting some odd behavior when the view paints If I select one of the matching labelled nodes, it will select both of them. If I select the other, neither of them...

    2009-11-06 13:21:39 UTC by jjames41

  • Problems with icon vertices

    Hi, I'm using a ShapeTransformer which can render the vertices both as labels and vertices. The labels are well rendered, by the icons are not shown. I've looked at the VertexImageShaperDemo and used the same way to render my vertices but no way. What am I doing wrong? Here my transform method : public Shape transform(CustomVertex customVertex) { Shape shape = null;...

    2009-11-06 11:40:57 UTC by heidilein

Our Numbers