Skip to main content

doit-graph

Generates a graph (using graphviz's dot) of doit tasks.

Sample for doit tutorial tasks:

Sample output

install

pip install doit-graph

usage

$ doit graph
$ dot -Tpng tasks.dot -o tasks.png
  • By default sub-tasks are hidden. Use option --show-subtasks to 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 --horizontal or -h
$ doit graph --horizontal

legend

Legend

  • group-tasks have double bondary border in the node
  • task-dep arrow have a solid head
  • setup-task arrow have an empty head

limitations

calc_dep and delayed-tasks are not supported.

DEV notes

http://graphviz.org/doc/info/attrs.html

Metadata

Release files for doit-graph 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for doit-graph 0.3.0
File Size Uploaded
doit-graph-0.3.0.tar.gz 3.3 kB Details

Release files / doit-graph-0.3.0.tar.gz

Download URL doit-graph-0.3.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
93c1b367afbff868632196cd87248b3c3128f5d53ae95d08b227ab25ae71d6d8
BLAKE2b-256 checksum
How to use checksums
d86126e5f0c4b6b0b20881aba5531ec08cf85e7a58c4638574826e8026dba9cc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page