Monthly Archives: November 2015

Using tkz-graph to draw nuclear reaction networks

The other day I was interested in drawing a fairly simple nuclear reaction network in$$\LaTeX$$.  I thought that tikz would be a good way of doing this. Basically, tikz is a way to generate vector graphics directly inside the $$\LaTeX$$ source code. I figured that somebody would have an example online of how to draw a simple directed graph with annotations on the connections.

There does exist a fairly new package called tkz-graph that is specifically designed for drawing such a graph. Unfortunately, there are some limitations that affected my final image.  One thing I wanted to do was color the nodes of the network with different colors to demonstrate different linear chains in the network, but that seems to be difficult with the current version as coloring nodes differently is not currently supported without defining a node type for each style.

The end result was pretty nice

Transmutation and decay network for uranium-238

Transmutation and decay network for uranium-238

This network could be much more involved insofar as there could be higher nuclides plutonium, but the point here is to illustrate how these networks can be draw in $$\LaTeX$$.

The code for this figure is given below, after the jump. Continue reading