Graph::Easy lets you generate graphs consisting of various shaped nodes connected by edges (with optional labels). WWW: http://search.cpan.org/dist/Graph-Easy/