Skip to main content

No project description provided

Project description

graphviz2drawio

Convert graphviz (dot) files into draw.io (mxGraph) format

Getting Started

Prerequisites

graphviz2drawio requires Python 3 and Graphviz

On Mac OS these can be installed with Homebrew:

brew update; brew install python3 graphviz

Installation

pip3 install graphviz2drawio

Usage

Run the conversion app on your graphviz file

graphviz2drawio example.dot

You can them import the output XML file into draw.io

Python Usage

from graphviz2drawio import graphviz2drawio

xml = graphviz2drawio.convert(graph_to_convert)
print(xml)

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

Limitations

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

Contributing

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

Authors

License

GPL

Project details


Download files

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

Source Distribution

graphviz2drawio-0.0.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphviz2drawio-0.0.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file graphviz2drawio-0.0.2.tar.gz.

File metadata

  • Download URL: graphviz2drawio-0.0.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for graphviz2drawio-0.0.2.tar.gz
Algorithm Hash digest
SHA256 868cd3be262f6692c59a21463e55636a0ea0110c45cb16aa0e37e8cd8a51b8d9
MD5 3695e2e759d6fd2c0b13936aeaa4a520
BLAKE2b-256 72ad32f04badb350f38de0c3e51fbb929374a676ae408117b5f13f824c7428e3

See more details on using hashes here.

File details

Details for the file graphviz2drawio-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: graphviz2drawio-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for graphviz2drawio-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 093599ffea70bd43ad5a1594ee6e7400f43596d8057339e70b1a24527ed81bd7
MD5 3b5f1640133561b305154867616baef3
BLAKE2b-256 a99193bed4c73180b3bc719b04f6db088926d84bc7a9d5d462df2fb5a2fe8ef6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page