Quick graph visulisation

I’ve got some ideas I want to prototype which involve procedurally generating graphs of information. The actual graphs won’t be used directly in a game, but I want to visualise them to see how the generator is doing. Does anyone know any quick and easy libs to do this kind of thing?

Looking for something that auto lays things out, a bit like:

Thanks.

http://www.jibble.org/dynamicgraph.php

Hmm, doesn’t seem to be a proper library, just some code inside an app for something different? Unless I’m misreading something?

Also, ew, GPL. :stuck_out_tongue:

You can either grab the code, or use it as a reference.

I thought you needed it just for debugging, as long as you’re not bundling it, it doesn’t really matter it’s GPL.

It’ll probably wind up in the actual game as a debug mode / visualisation, so something with a nice liberal license would be preferred.

JUNG is BSD-licensed

We used http://www.prefuse.org/ in one of our projects and were quite happy. It’s BSD too.

Both of those sound more like what I’m after - thanks.