This library can be used to render OpenVCAD objects. See the main OpenVCAD package for more info.
Mermaid Tree Diagrams
pyvcad_rendering.render_tree_diagram(...) and Render_Tree_Diagram(...) save authored OpenVCAD tree diagrams from a root tree in one call.
pyvcad_rendering.render_tree_legend(...) and Render_Tree_Legend(...) do the same for the built-in master legend.
Install the Mermaid CLI separately and ensure mmdc is available on your PATH:
mmdc -i input.mmd -o output.svg
The tree helper accepts either a root pyvcad.Node or a pre-built pyvcad.TreeDiagram.
- If
output_pathends in.mmd, the Mermaid source is written directly. - If
output_pathends in.svgor.png, the helper writes a temporary.mmdand shells out tommdc.
pyvcad.TreeDiagram.master_legend() returns a hardcoded annotated master legend for the broader OpenVCAD tree-diagram language, and pyvcad.TreeDiagram.save_master_legend(path) writes that Mermaid source to disk.
Metadata
Release files for pyvcad-rendering 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyvcad_rendering-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyvcad_rendering-3.1.0-py3-none-any.whl
| Download URL | pyvcad_rendering-3.1.0-py3-none-any.whl |
|---|---|
| Size | 327.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a0b361ca44612af5dfa65369f4040adae0989642590e6ac01bbc46d9f0a6956
|
|
BLAKE2b-256 checksum How to use checksums |
d8efc7d80dbc3d2002a5b0ce497950d720e2a302491a0ab27a13ea37d0fd34c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for pyvcad-rendering 3.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.