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
- PyGraphviz - Python interface to Graphviz
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Authors
- Harold Martin - harold.martin at gmail
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for graphviz2drawio-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d395541949eabe43cb8dab66de11fa1b7c27c27c83ec25b5c80face10eef403 |
|
MD5 | 8b1eb389fa32ebf9898af98139c9c299 |
|
BLAKE2b-256 | c94054ae2ada5f7034e6999c29d23b631c78449d5ac533d596ff13576afe7a3a |