Visualizing DDG as dot graph


I am using the DataDependenceGraph class that was introduced in LLVM-10. I am trying to visualize it as a DOT graph, however the DOTGraphTraits is not defined for it. Can anyone provide some insight on how to create the DOTGraphTraits template for the DataDependenceGraph class? I am not very familiar with DOT format in general; any feedback would be much appreciated.