Let's Swing!
A globally warmed, Swing focused blog in the Participation Age.
I've definitely moved this blog to my personal site!

Graph drawing with NetBeans

jueves noviembre 10, 2005 | Java Swing | Permalink | Comentarios [3]

One of my interests is graph drawing. Graph drawing is a nice mixture of maths and computer science.

The fact is that drawing a graph automatically is indeed a complex thing. I am specially interested in drawing directed graphs, either cyclic or acyclic ones.

One of the most famous algorithms for doing this is the Sugiyama algorithm, that I'm slowly implementing myself as time permits.

One of the most famous tools for automatic graph drawing is Graphviz. There're different commercial libraries for drawing graphs, too. JGraph has recently included some layout algorithms (that, by the way, failed to work in the demo I tried several months ago).

So, why am I telling you all this? Well, because some guys at Sun have contributed a graph library to NetBeans. And, although it seems not to have an algorithm to layout nodes, it does have an algorithm to automatically route edges (quite effective, indeed). It seems this is the library being used to display those nice graphs in NetBeans Mobility Pack, like this one:

Sample Graph built with the NetBeans graph library

So I thought you could be interested in trying out the Java Web Start demo available at that page. Cool stuff.

And, by the way, there're some nice screenshots here of applications built on top of the NetBeans platform, just in case you want some eye candy.

Cheers,
Antonio

Update: The NetBeans Graph library does have an algorithm for automatically laying out nodes too.

Comentarios:

The demo of the JGraph layouts you probably tried was the JGraphpad Community Edition. That didn't use the new layouts. We now only demonstrate JGraphpad Pro which uses the correct layouts. You should find they now work correctly. Thanks.

Enviado por David Benson en noviembre 14, 2005 a las 04:55 PM CET #

Is Netbeans Graph being "actively" developed?

Enviado por Mark en enero 24, 2006 a las 01:36 PM CET #

Hi Mark,
I assume so. Anyway you may want to ask at users AT graph.netbeans.org for further details (I'm not directly involved in that project).
Cheers,
Antonio

Enviado por Antonio en enero 24, 2006 a las 03:54 PM CET #

Enviar un comentario:

Los comentarios han sido deshabilitados.

Categories


Search


Recent entries


Sites I find interesing

Aggregators
Swing focused
Software architecture related @ blogs.sun.com

Calendar

« noviembre 2009
lunmarmiéjueviesábdom
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Hoy

Navigation


Visits

Locations of visitors to this page