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.2.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file pyppl_flowchart-0.1.2.tar.gz
.
File metadata
- Download URL: pyppl_flowchart-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.4 Linux/4.4.0-19041-Microsoft
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93914238cbdacf63b62649852aa48ad5050898898a0dbc82bcf7e76c655473e6 |
|
MD5 | 0d1c2d75f6b39c9108a7b0a275ff3bd7 |
|
BLAKE2b-256 | b47a1603acec5060e4981b4bdce76fa6bdef6244dacf89a2995750ba600eff88 |
File details
Details for the file pyppl_flowchart-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pyppl_flowchart-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.4 Linux/4.4.0-19041-Microsoft
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5feb45a9c809fec75087d700e090c338e8195cedc7cf05a8ba51167e923cb6 |
|
MD5 | c4dd2fed57e268eaedae913a865dd177 |
|
BLAKE2b-256 | 976bd734042a28841106a92fdcad7c6d509c8cd3478a1769e4d7adec5b9d0ac0 |