Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

doit cmd plugin: create task's dependency-graph image

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for doit-graph, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size doit-graph-0.3.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page