views:

120

answers:

3

I need to get a 2d picture of a network graph. I know the topology. Is there any tool which will help me do so?

+2  A: 

There are some open source tools written in Java here.

Adam Matan
+7  A: 

Graphviz

davidrobles
+1 Seems like the perfect tool for the job - I might just use it in some of my projects!
Adam Matan
Can I draw undirected graphs with this tool?
Bruce
Yes you can. Instead of using ->, use --. Here is an example: http://www.graphviz.org/Gallery/undirected/process.html ... Click the image to see the source code.
davidrobles
And here is a directed graph, so you can see the difference in the notation: http://www.graphviz.org/Gallery/undirected/philo.html
davidrobles
+1  A: 

Yep graphviz is the de facto tool for this. You do not need to look any further. Just use your programming language of choice to spit out a dot file which describes your network. You can drop to programatic definition of graphs using graphviz but that is another issue.

Dot files are nice and simple, anyone could write one.

Hassan Syed