https://github.com/misohena/el-easydraw
https://github.com/lepisma/org-krita
You can inline source code in org-mode that renders a graph png.
#+BEGIN_SRC dot digraph { a -> b b -> a } #+END_SRC
https://github.com/misohena/el-easydraw
https://github.com/lepisma/org-krita