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
maincauses creation or update of a release PR. (releaseworkflow) - 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
releaseworkflow) - Publishing this GitHub release in turn triggers building and uploading a Python package. (
publishworkflow)
Metadata
Release files for xdot-rs 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xdot_rs-0.2.4.tar.gz | 17.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xdot_rs-0.2.4-cp38-abi3-manylinux_2_34_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 396.9 kB
Release files / xdot_rs-0.2.4.tar.gz
| Download URL | xdot_rs-0.2.4.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4054bbad4c9aba63236b065750ca67b8e2d6c21ff33505bed5da56c80c588b09
|
|
BLAKE2b-256 checksum How to use checksums |
794cf9c67121a70db77e11057c4cb815575b0b5071cc680b0f7f85152f2135ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logRelease files / xdot_rs-0.2.4-cp38-abi3-manylinux_2_34_x86_64.whl
| Download URL | xdot_rs-0.2.4-cp38-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 379.5 kB |
| Tags | CPython 3.8 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f10922055d6a7b088b61770693e68e7d3317096c5a728f2636b2fba90bba4deb
|
|
BLAKE2b-256 checksum How to use checksums |
30b8f71a0cb9312d47ec2bb3d48b4ed42535a41cf1921e316f61fc72eff609db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency log