How to convert GraphML to DOT format

829 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 best solutions below

0
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)