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.4.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file pyppl_flowchart-0.1.4.tar.gz
.
File metadata
- Download URL: pyppl_flowchart-0.1.4.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1b274d42872bb2df681b1fba630458d5ac6d7dc6043e252de35f0df9ece695 |
|
MD5 | 9366c90c3a6d5df8a39576997bc235c2 |
|
BLAKE2b-256 | 6a9b2083edb892987c47ee4b2b7a1227f3d9f8f75daebef5fa19fda889e0765d |
File details
Details for the file pyppl_flowchart-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: pyppl_flowchart-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57b14599ea0c7068220d2a8417a8cfbfa8e5824f95e0c43b25c555e3c78167c |
|
MD5 | 71e93831758dc0ff67e18445c4f4c76c |
|
BLAKE2b-256 | a505e90b3da0afb8755d5e6b9b94634efe76ce0e369ee3302a1bf0b9a0babb6a |