MetaGraph preprocessor for Foliant
Preprocessor generates Graphviz diagrams of meta sections in the project.
Installation
$ pip install foliantcontrib.metagraph
Config
preprocessors:
- metagraph:
natural: false
directed: false
draw_all: false
natural
: if true — the graph is generated based on "natural" section structure: main sections are connected to the inner sections, which are connected to their child sections and so on. If false — the connections are deretmined by the relates meta section of each chapter. Default: false
directed
: If true — draws a directed graph (with arrows). Default: false
draw_all
: If true — draws all sections, except those which have meta field draw: false. If false — draws only sections which have meta field draw: true. Default: false
Usage
First set up a few meta sections:
<meta title="Main document" id="main" relates="['first', 'sub']" draw="true"></meta>
# First title
<meta id="first" draw="true"></meta>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nesciunt, atque.
## Subtitle
<meta id="sub" draw="true"></meta>
Then add a metagraph tag somewhere in the project:
<metagraph></metagraph>
Metadata
Release files for foliantcontrib.metagraph 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| foliantcontrib.metagraph-0.1.3.tar.gz | 4.3 kB | Without provenance | Details for foliantcontrib.metagraph-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| foliantcontrib.metagraph-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for foliantcontrib.metagraph-0.1.3-py3-none-any.whl |
Total release size: 9.1 kB
Release files / foliantcontrib.metagraph-0.1.3.tar.gz
| Download URL | foliantcontrib.metagraph-0.1.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
decd6828f71a349e1414a6bb03a255ab8ef242578a1658d1705d776136bc08e1
|
|
BLAKE2b-256 checksum How to use checksums |
833e3ceda16ae031c2ef959a3bdf545193591bc59d77c21775d539c855e3bf1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / foliantcontrib.metagraph-0.1.3-py3-none-any.whl
| Download URL | foliantcontrib.metagraph-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ad7b1a10ad74292e0eade13535c3c9ae97cacde1f6928cbc66a1db80557d318
|
|
BLAKE2b-256 checksum How to use checksums |
403e59b2e00e360941f31de9dd58149b08655d3bf21b7ef9bca99efa687447dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for foliantcontrib.metagraph 0.1.3
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.