Generating flowchart for PyPPL
Project description
pyppl_flowchart
Flowchart generator for PyPPL.
Installation
pip install pyppl_flowchart
Usage
Generating flowchart for your pipeline
# process definition
PyPPL().start(...).flowchart(fcfile = '/path/to/your/flowchart.svg').run()
Hiding some processes from flowchart
# Turn
# p1 -> p2 -> p3 -> p4 -> p5
p3.config.flowchart_hide = True
# into:
# p1 -> p2 -> p4 -> p5
Theming
In your configuration:
[default.flowchart]
theme = "dark"
# other configuration
We have two builtin themes: default
and dark
:
You can also default your own theme in the configuration:
[default.flowchart.theme]
base = {
shape = "box",
style = "rounded,filled",
fillcolor = "#ffffff",
color = "#000000",
fontcolor = "#000000"
}
start = { style = "filled", color = "#259229" }
end = { style = "filled", color = "#d63125" }
procset = { style = "filled", color: "#eeeeee" }
edge = {}
edge_hidden = { style = "dashed" } # for links with hidden processes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyppl_flowchart-0.1.3.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file pyppl_flowchart-0.1.3.tar.gz
.
File metadata
- Download URL: pyppl_flowchart-0.1.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7e66587d4bac4a5e0171aa8ab7b8c7e0d266b9b28dc3d0ef3bafc399b63ff8 |
|
MD5 | 5419f1bac469d0eb2bf9a938d90b5ba4 |
|
BLAKE2b-256 | 03b34e4bd9dc1fa45441d7f0124f1042ecc121dd6c5426d0e4fa3c9b7e95a936 |
File details
Details for the file pyppl_flowchart-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pyppl_flowchart-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef01e3a65c0b107be459fcef35d79737eac8a471c64a1559c90a34380371db9f |
|
MD5 | 8a09d2f5c31a1c3dbea7347367b94829 |
|
BLAKE2b-256 | f251cef628994b97a0ebfdfa060a83f3f22c7f14923b5433db0ab180ee20a2d9 |