Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I need to make a nicer-looking version of this image:

Undirected graph with crappy loop

Is there some program that generates these graphs? Or are they done by hand in something like Visio?

(I'm on Mac OS X, and I have access to Windows if needed)

share|improve this question
    
I use gastex or MetaPost. –  Yuval Filmus Apr 7 '11 at 21:41

7 Answers 7

up vote 8 down vote accepted

Try Graphviz.

share|improve this answer
1  
I quickly figured out the DOT language and made the graph as I wanted it. Thanks! –  Ricket Apr 7 '11 at 22:11
2  
If it's not too much trouble, would it be possible for you to include an example of the above graph drawn by Graphviz? –  Douglas S. Stones Jan 4 '13 at 5:22

I've found Gliffy to be a great method of doing this, and it has the advantage of being totally web based--nothing to install or screw up across operating systems.

share|improve this answer

Sage can generate graphs. It's like Mathematica/Maple but it's open source and free.

share|improve this answer

If you use $\LaTeX$, tikz is very nice for making graphs (I use it all the time to make commutative diagrams).

Otherwise one could use pretty much any vector graphics program, for example the free (as in freedom and in beer) inkscape.

There's also dia, though it is more for UML-like diagrams.

share|improve this answer

Since no one else has mentioned it yet, yEd, a free diagram/graph editor.

share|improve this answer

The igraph library for R allows you to plot graphs. Combined with tikzDevice, it can also produce LaTeX output of the plots.

Here's an example:

The OP's graph

The graph itself was produced using the R code

g <- graph.empty() + vertices(letters[1:3])
g <- add.edges(g,c(1,2,2,3,3,1,2,2))
g <- as.undirected(g)

and was plotted to a LaTeX file using the R code

tikz("~/Dropbox/Thesis/Thoughts/temp.tex",standAlone=FALSE,width=4,height=4)
plot(g,layout=layout.fruchterman.reingold,vertex.size=30,edge.width=3,edge.color="black")
dev.off()
share|improve this answer

Try Gephi is a open source mac for graphs....http://gephi.org

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.