Skip to main content

No project description provided

Project description


Convert graphviz (dot) files into (mxGraph) format

Getting Started


graphviz2drawio requires Python 3 and Graphviz

On Mac OS these can be installed with Homebrew:

brew update; brew install python3 graphviz


pip3 install graphviz2drawio


Run the conversion app on your graphviz file


You can them import the output XML file into

Python Usage

from graphviz2drawio import graphviz2drawio

xml = graphviz2drawio.convert(graph_to_convert)

graph_to_convert can be any of a file path, file handle, string of dot language, or PyGraphviz.AGraph object


Current alpha release may not correctly convert all dot commands. PLEASE open an issue with your dot file to report conversion problems or visual errors.

Built With


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.




Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

graphviz2drawio-0.0.5-py3-none-any.whl (18.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page