Adding support for opening dot files to GraphBrowser

I spent some time on GraphBrowser, starting off the project, the first step has been to add basic support for opeining Graphviz DOT files. There are already some pages on the net talking about how to add open file support for new file types in NetBeans. File Type Integration Tutorial So there is no need to explain how to do it in a detailed way. The first main step is to invoke New File Type wizard on the module (in my case MainModule) to add the basic files to support the file type. ...

July 22, 2009

GraphBrowser

I decided to start a small project trying to port the GUESS framework into Netbeans RCP. The plan is to replace the GUESS own graphical library with Netbeans Visual Library stuff and replace the GUESS Python like interpreter with something more along the lines of JSR 223 Scripting for the Java Platform. For the moment I created the project at kenai.

July 18, 2009

Painting LabelWidgets on top of the ConnectionWidget - Netbeans Visual Library

I was fiddling with the Netbeans Visual Library again, trying to show a complex graph on screen and I run into a problem: There were so many connection in the graph that some widgets were hard to read because the ConnectionWidget arrows were printed over them. So I tried to I try to rearrange the order of my LayerWidgets to paint the LabelWidgets on top of ConnectionWidgets. A call to mainLayer.bringToFront() should be enough, but this is what I got when I tried that: ...

May 7, 2009

Force Directed Layout in NetBeans

I just came up with the idea of reproducing the GraphView demo I saw in prefuse by using the Netbeans Visual Library API. The GraphView demo uses a Force Directed Layout algorithm to dinamically position the nodes on the screen. It’s really fast and cool. Download prefuse and experiment with it by yourself. I wanted to achieve something similiar with the Visual Library and I succeed up to a point. The force based layout algorithm that I implemented is much simpler that the used in prefuse, so there is no spring-like movement. It looks way cooler with springs. It just uses repulsion between nodes and attraction between connected nodes. ...

March 9, 2009

More graphs

I continue looking for graph visualization software. I rn into prefuse. Looks promising, take a look into the gallery to see some examples. But it’s still only a toolkit so it means that I have to develop at least a little application to be able to visualize my graph. I tried using the examples that come with prefuse and they work but they are not enough. I just converted my data to GraphML and I was able to load it into the GraphView example. But I need to add some functionality to it before I can actually use it to analyze my graph. I’m not sure I can use prefuse to print out the graph anyway so I’m giving up for a while. This graph thing it’s taking too much time, but I will try to come back to it some day.

November 18, 2007

Graph visualization

After spending a bunch of time with the graphviz utilities (neato, dot, circo and twopi) trying to create a graph to understand the software dependencies between modules in a project I’ve been I assigned I realized that those tools don’t work well with large graphs. I tried and tried with no luck, I thought that the old linux kernel map poster used graphviz to create the poster but after googling a bit and reading the code for the FCGP project I found that they write PostScript directly. I was looking for something simpler. ...

November 14, 2007

Better JMeter Graphs

If you are tired of the old “Graph Results” listener that JMeter provides and want better charts in your Jmeter test plan take a look at this JMeter plugin. This is how the old “Graph Results” look like: Click on the above image or here to see an enlarged version of the old Graph Results Checkout this new JMeter plugin that provides a new Statistical Aggregate Report listener. (see the screenshot) ...

January 2, 2007

Better JMeter Graphs

I’ve moved this post to the following location **UPDATE**: The files here will only run in JRE 1.6. I will try to provide JRE 1.5-compatible files as soon as possible. Thanks to Daniel for pointing this out. If you are tired of the old "Graph Results" listener that JMeter provides Click on the above image or here to see an enlarged version Checkout this new JMeter plugin that provides a new Statistical Aggregate Report ...

December 12, 2006