Nice Energy Level Diagrams with rxnlvl

I have written a bit of code lately which automates the process of constructing chemical reaction energy level diagrams rather well. It’s called rxnlvl. It’s written in Python, outputs to SVG (Scalable Vector Graphics) and is GPL3. I’m not a ninja programmer by any stretch of the imagination, however the program is basically functional, and in my estimation yields quite attractive results.

ImageYou can check it out at

Enjoy, and if you find it useful I encourage you to show me what you’ve done with it.




Posted on 21/01/2014, in Uncategorized and tagged , , , . Bookmark the permalink. 6 Comments.

  1. Hi there!

    Very cool! Last time you wrote about how to get this diagrams done with Excel I reblogged it on my site, do you mind if I do the same again with it? All due credit will be payed, of course 🙂

    Have a nice day!

  2. Reblogged this on Dr. Joaquin Barroso's Blog and commented:
    Once again our friend at Eutactic has provided us with a way to create nice energy level diagrams and was kind enough to let me reblog his post. If you haven’t checked his blog please do so and encourage him to write more often.
    This post is best served with:

  3. Looks great!

  4. Hi, looks very nice. Unfortunately it doesn’t work on my computer. I got the error message

    Traceback (most recent call last):
    File “C:\Users\Markus\Desktop\rxnlvl\”, line 43, in
    File “C:\Users\Markus\Desktop\rxnlvl\rxnlvl\”, line 120, in write
    svgstring += appendTextFile(‘{}/dat/svgprefix.frag’.format(str(path)))
    ValueError: zero length field name in format

    Any idea what’s wrong?

    • Line 120 should be:
      svgstring += appendTextFile('{0}/dat/svgpostfix.frag'.format(str(path)))

      I don’t know the cause of this discrepancy as the line is correct in the source.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: