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.1.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file pyppl_flowchart-0.1.1.tar.gz
.
File metadata
- Download URL: pyppl_flowchart-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Linux/4.4.0-19041-Microsoft
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5525ed536abca6f364dc4e0639a227b83612df73120194a4afb698bcd2a5f9c5 |
|
MD5 | 373c28fc6e2af49cfa7dd1807d3c83e7 |
|
BLAKE2b-256 | ad4ff200a7ade7adf2cdecc1a95088455532ce92c819ab504168b40f81aee636 |
File details
Details for the file pyppl_flowchart-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyppl_flowchart-0.1.1-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.3 Linux/4.4.0-19041-Microsoft
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 105da9f5ff203432c729b7a2b2adaf196802b233d6d0fcc4c7b942956188d505 |
|
MD5 | aa7bfc909c2addd8fc2de099e4a3de52 |
|
BLAKE2b-256 | a25472261280f281f2157169dd52fbacbc4e49b8f12c8a53f59308492a8ea5ad |