How to convert torch._C.graph text into dot language

Hi,
Is there any way to convert a torch._C.Graph text like this


generated by torch.jit.trace(model, input) directly into .dot language used by networkX, GraphViz, etc. like this

Thank you