Mkdocs plugin for Graphviz

Does anyone have any guidance in creating a mkdocs plugin for Graphviz? I am working on a project where we need to maintain many graph diagrams within the mkdocs system and I am having problems with the Mermaid plugin. I have used Graphviz in the past and it seems like a much more robust system.

For reference, here is the mkdocs page:

Thanks!