doit-graph
Generates a graph (using graphviz's dot) of doit tasks.
Sample for doit tutorial tasks:
install
pip install doit-graph
usage
$ doit graph
$ dot -Tpng tasks.dot -o tasks.png
-
By default sub-tasks are hidden. Use option
--show-subtasksto display them. -
By default all tasks are included in graph. It is possible to specify which tasks should be included in the graph (note dependencies will be automatically included).
-
To draw tasks in execution order (i.e. reverse of dependency direction), use option
--reverse
$ doit graph --reverse
- To draw tasks from left-to-right instead of the default top-to-bottom, use option
--horizontalor-h
$ doit graph --horizontal
legend
- group-tasks have double bondary border in the node
task-deparrow have a solid headsetup-taskarrow have an empty head
limitations
calc_dep and delayed-tasks are not supported.
DEV notes
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
doit-graph-0.3.0.tar.gz
(3.3 kB
view details)
File details
Details for the file doit-graph-0.3.0.tar.gz.
File metadata
- Download URL: doit-graph-0.3.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93c1b367afbff868632196cd87248b3c3128f5d53ae95d08b227ab25ae71d6d8
|
|
| MD5 |
34ff00e742eec3ff6dcc373e36e08e16
|
|
| BLAKE2b-256 |
d86126e5f0c4b6b0b20881aba5531ec08cf85e7a58c4638574826e8026dba9cc
|