How to convert GraphML to DOT format

814 views Asked by At

I need to convert a GraphML file into a DOT format, but I am not familiar on how to perform the conversion.

1

There are 1 answers

0
Nishant Kumar On

#you should use export_graphviz

    from sklearn.tree import export_graphviz

#to get dot data

    dot_data = export_graphviz(clasifier_name,out_file=None)