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.5.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file pyppl_flowchart-0.1.5.tar.gz
.
File metadata
- Download URL: pyppl_flowchart-0.1.5.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.8 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41447a9f28f2b1e6f9ca29e68eb334bbf3de720595b6a153d384fff9da2b1c26 |
|
MD5 | d672385d35953d9589f66e21fdb1c881 |
|
BLAKE2b-256 | b7c82d01e336ccc0251fcb16244986b858451150fcf262c5467401452b2f04cf |
File details
Details for the file pyppl_flowchart-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pyppl_flowchart-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.8 CPython/3.7.1 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a68287f79c44d9342772b54f1eece065acc706eae672fb0c3344b995288bce |
|
MD5 | e81ad391e1b7327a8e76482bbf118362 |
|
BLAKE2b-256 | 7bd1f3fb2e3468cbb153394d1e1f00d1886573ada5b50070f39581fac199b3d8 |