xdot-rs 0.2.3
pip install xdot-rs==0.2.3
Released:
Parse graphviz’ xdot draw instructions
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 or later (GPLv3+) (GPL-3.0)
- Author: Philipp A. <flying-sheep@web.de>
- Tags graphviz, graph
- Requires: Python >= 3.8
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Project description
xdot
The main function of this package is parse
.
It parses node/edge attributes on graphviz graphs created by xdot
into drawable shapes.
use xdot::{parse, ShapeDraw};
let shapes: Vec<ShapeDraw> = parse("c 7 -#ff0000 p 4 4 4 36 4 36 36 4 36");
Each ShapeDraw
struct contains a shape
with geometry and a pen
with drawing attributes (such as color, line style, and font).
If you have the layout
feature active, you can also use layout_and_draw_graph
(and draw_graph
):
use graphviz_rust::parse;
use graphviz_rust::dot_structures::Graph;
use xdot::{layout_and_draw_graph, ShapeDraw};
let graph: Graph = parse("graph { a -- b}").unwrap();
let shapes: Vec<ShapeDraw> = layout_and_draw_graph(graph).unwrap();
Release process
- A commit to
main
causes creation or update of a release PR. (release
workflow) - Merging a release PR causes the creation of a Git tag and GitHub release, and the upload of a Rust crate to crates.io.(also
release
workflow) - Publishing this GitHub release in turn triggers building and uploading a Python package. (
publish
workflow)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 or later (GPLv3+) (GPL-3.0)
- Author: Philipp A. <flying-sheep@web.de>
- Tags graphviz, graph
- Requires: Python >= 3.8
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Uploaded
CPython 3.11
manylinux: glibc 2.34+ x86-64
Uploaded
CPython 3.10
manylinux: glibc 2.34+ x86-64
Uploaded
CPython 3.9
manylinux: glibc 2.34+ x86-64
Uploaded
CPython 3.8
manylinux: glibc 2.34+ x86-64
File details
Details for the file xdot_rs-0.2.3.tar.gz
.
File metadata
- Download URL: xdot_rs-0.2.3.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d3ea36c767ee588cef40e4101199a348ef6bfc526faaecedd762dca22de44ab |
|
MD5 | 7ccd26326203dbc6a43d728784aad297 |
|
BLAKE2b-256 | 32d63852e5de9230aff5c4e15b4ef5190b5df3ce189756cba441a69eab9eddc6 |
File details
Details for the file xdot_rs-0.2.3-cp311-cp311-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: xdot_rs-0.2.3-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8b27c473d49c8b4022fd8c5ce70862a9318ee78c6d738059838a6597533e9bc |
|
MD5 | afa25d61670040590f5fddeda3f3f81a |
|
BLAKE2b-256 | 5fa6d92d60ceb071234fa230cf0ef5dacf52f6b99ef9d9d430cb930a3b18cc2d |
File details
Details for the file xdot_rs-0.2.3-cp310-cp310-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: xdot_rs-0.2.3-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66ec71748f20560feaabd31853e35e655c4b0ba1dcf5d5689b0a7df3b1b9909 |
|
MD5 | 522be65c16c8572c7441c5006630fa6d |
|
BLAKE2b-256 | 67b1ab7736211a8a1120e4bfe6f5b26178b0f4c8e69a1496581c37e71c743fb5 |
File details
Details for the file xdot_rs-0.2.3-cp39-cp39-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: xdot_rs-0.2.3-cp39-cp39-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be52f53cfe664666930247123947c15b9b8ef41e1403719828f4dd136744116 |
|
MD5 | fea486d339abbf904d885e093ec2d590 |
|
BLAKE2b-256 | bb193ead0c70ab81003a928f6a8f81eb8336afcd8bfe3f6d7470fdf7b5b363b6 |
File details
Details for the file xdot_rs-0.2.3-cp38-cp38-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: xdot_rs-0.2.3-cp38-cp38-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51554059d07ee3b3187cbd0ffe15e5582cff54d071838b6b2fb258571e690ed |
|
MD5 | 03fc8c7b3728ff88a552ce341d177f92 |
|
BLAKE2b-256 | 855618da42bd1a8473310dcb763b64954cfdf01afa8f11124d57e20204ee0124 |