Share

Java Universal Network/Graph Framework

Code

Programming Languages: Java

License: BSD License

Repositories

browse code, statistics, last commit on 2009-12-06 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?

  • Followup: RE: How to fit the graph to screen?

    Hey Alex, thanks for your advice, I've tried this, it works, but the design of my TreeLayout (precisely distX and distY) is ignored. I think it will work when I scale the tree to a certain size. But at this time I don't know what the scale() function of the ScalingControl does. It doesn't change the size of the Tree, VisualizationViewer and Graph. Does anyone know what is changed when...

    2010-01-07 13:30:53 UTC by heidilein

  • How to load a tree/forest from a file

    Currently, JUNG provides nice functions to load a graph. But I am facing a problem of loading a tree/forest from a file (e.g. graphml). Is it possible to use some functions in JUNG to do it? I notice that the Tree and Forest interfaces are the subclass of Graph, so I am wondering if GraphmlReader or other file readers can load a file and construct a tree or forest. Best...

    2009-12-23 16:47:49 UTC by langqinren

  • SpringLayout network disappears

    Hello, When I use SpringLayout (actually a slightly modified version), the network disappears after a while. It happens one node or edge at a time very quickly. It is somewhat funny to watch but I need your help for this to be fixed. It happens about 5% of the time so it is hard to catch the bug and I have no idea how to regenerate it. It happens unexpectedly. Any thoughts?.

    2009-12-20 21:47:41 UTC by alex_us01

  • Followup: RE: How to fit the graph to screen?

    Hey Heidi, I had the same problem with SpringLayout and solved it for myself by copying the source code and modifying moveNodes() last part as follows: Hopefully, the JUNG team can incorporate the fix at some point (or maybe I should join their developer team?) The original code has 0 instead of _inset. I just declared _inset to be field and added a getter and setter and I set it to 25...

    2009-12-20 21:42:52 UTC by alex_us01

  • Followup: RE: Please help, problems with tree

    Try to implement a rekursive set for the positions of your vertices, so that when the parent is moved the children get moved for the same delta values. After you did that, put your graph to the Layout and get the positions from the Layout. Last step is just to move the Parent. Use StaticLayout for the visualization und implement the transformer nice regards.

    2009-12-17 13:52:47 UTC by oggy85

  • Please help, problems with tree

    My graph is rendered in treeLayout, everytime the graph is rendered on the left side of my panel, so most of my vertices aren't shown. How can I solve this problem? Tried setting size and location of visualv but nothing changes. Please help. Sabine.

    2009-12-17 11:51:22 UTC by nuggle

  • jung for web visualisation

    is it possible to use jung for a simple web visualisation? i have found the examples on the web, but they are very static. can i use jung for displaying graphs (dynamiclly created) on the web? thanks for answers.

    2009-12-14 17:30:01 UTC by wanand

  • Relaxer not working as expected

    Hi, I tried to implement Reset of Graph using "Relaxer" of JUNG 2.0, but I noticed that relaxer object is returned as null. Relaxer relaxer = graphView.getModel().getRelaxer(); where graphView is a VisualizationViewer. and layout I'm using StaticLayout. Please provide some direction. Pragmatic approach is appreciated.

    2009-12-11 12:44:42 UTC by smadap

  • Method step() in SpringLayout2

    Hi, my aim is to iterate over the relaxions, but every time I invoke the methode springLayout2.step() i get an NullPointerException.Whats my fault? My Code below: SpringLayout2 springLayout = new SpringLayout2(parentGraph); for(int i = 0; i

    2009-12-09 13:05:50 UTC by oggy85

  • Followup: RE: Translucent Icons shows the edges behind it.

    Dude, you can try to change the VertexShape Transformer, but as i see you `ll need one shape for each Vertex, so create a new class public class VertexShapeTransformer implements Transformer { and try to get the VertexShape from each icon, i hope thats help !

    2009-12-06 16:35:55 UTC by pr0utz

Our Numbers