hbmartin/graphviz2drawio
Fork: 30 Star: 137 (更新于 1970-01-01 00:00:00)
license: GPL-3.0
Language: Python .
Convert graphviz (dot) files into draw.io (mxGraph) format
最后发布版本: v0.1.0 ( 2018-09-08 00:34:55)
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
pip3 install pygraphviz --install-option="--include-path=/usr/local/include/graphviz" --install-option="--library-path=/usr/local/lib/graphviz/"
- On Ubuntu / Debian based Linux, install graphviz using:
sudo apt install python3-pip graphviz graphviz-dev
If you encounter installation errors you may need to manually install pygraphviz with links to the graphviz libraries
Installation / Upgrade
pip3 install graphviz2drawio --upgrade
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)
where graph_to_convert
can be any of a file path, file handle, string of dot language, or PyGraphviz.AGraph object
Limitations
Please open an issue with your dot file to report crashes or incorrectect conversions.
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.
Code Formatting
This project is linted with pyflakes and makes strict use of Black for code formatting.
Authors
- Harold Martin - harold.martin at gmail
- Jonah Caplan
License
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2018-09-08 00:34:55 v0.1.0
2018-09-06 07:36:05 v0.0.6
2018-09-06 06:05:45 v0.0.5
2018-09-02 00:18:18 v0.0.4
hbmartin/graphviz2drawio同语言 Python最近更新仓库
2024-12-22 18:18:34 LeslieLeung/heimdallr
2024-12-22 09:03:32 ultralytics/ultralytics
2024-12-21 13:26:40 notepad-plus-plus/nppPluginList
2024-12-21 11:42:53 XiaoMi/ha_xiaomi_home
2024-12-21 04:33:22 comfyanonymous/ComfyUI
2024-12-20 18:47:56 home-assistant/core