1

I searched the net for quite some time but couldn't find this.. Perhaps this forum might have ideas?

What I need is to visualize in a form of a diagram some network system. Particularly - the irrigation system with a bunch of nodes organized as network, with containers, relations etc. I stumble upon fairly complex and expensive libraries with math graph theories in the core.. quite scary stuff. I've tried graph-like libraries, but they can't make a humanized picture, all those graph algorithms aren't very useful in my case. I don't mind laying it out programmatically with a proper API.

I'm in java desktop apps (swing), if you know of anything or did something similar, please share. Actually could be a good idea for a product - XML structure in - live diagram out. Again, there are lots of complex projects out there, but nothing simple and straightforward for a simple task like showing you the structure of your system without spending thousands of hours to learn the tool. Open source solutions are very welcome, but commercial are OK too. Please share if you have real first hand experience with similar tasks.

Dima
  • 4,068
  • 4
  • 38
  • 47

3 Answers3

1

Just a quick answer: you might want to check out http://www.jgraph.com/ and http://www.yworks.com

Peter Becker
  • 8,795
  • 7
  • 41
  • 64
1

I have developed applications with JUNG and prefuse. Both offered a variety of options for layout and visual customization (there are some fantastic demos/examples along with source code for both). They are both very approachable to use.

It is worth noting that prefuse hasn't had a major update since 2008, and the last update for JUNG was early last year.

  • I tried JUNG before, it's oriented for visualising graphs, with emphasis on statistical analysys. But prefuse looks very interesting, I wonder why it dried out? How stable is it? – Dima Jan 27 '11 at 00:57
  • Prefuse is pretty stable, it is just not actively developed anymore. –  Jan 27 '11 at 19:19
  • I believe the reason Prefuse is not actively developed is that the author has gone on to do other things. His latest project is Protovis which is the next generation of Prefuse but for Javascript (http://hci.stanford.edu/jheer/projects/). – Jay Askren Jan 31 '11 at 16:12
1

Check out Netbeans Visual Library. If a more low level lib is desired then Piccolo2D could be a good choice.

01es
  • 5,362
  • 1
  • 31
  • 40