https://memalign.github.io/m/formulagraph/index.html
Some detail on how this works, including links to the relevant interval math code:
https://memalign.github.io/p/formulagraph.html
http://www.peda.com/grafeq/
http://www.peda.com/grafeq/