Using Pandoc's Lua AST manipulation, we can convert DOT blocks into TikZ during compile time, and then have LaTeX generate a graph rendering.
An example command that uses this filter
pandoc --pdf-engine=xelatex --lua-filter ./dot2tex.lua -o out.pdf in.md