Skip to main content

No project description provided

Project description

graphviz2drawio

Build Status

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

graphviz2drawio-0.0.6-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphviz2drawio-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3bddf51421db3de8ecddce062b859c56a6cf732dd5a3873a93eae767c79776bb
MD5 05eb92d5d10015a00c6442c420821c29
BLAKE2b-256 485f2f36b4656a595c7d38a45e5980351ed95b0b3e8772c3473bc4b6e01ce842

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