Skip to main content

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.

Source Distribution

doit-graph-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

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

Hashes for doit-graph-0.3.0.tar.gz
Algorithm Hash digest
SHA256 93c1b367afbff868632196cd87248b3c3128f5d53ae95d08b227ab25ae71d6d8
MD5 34ff00e742eec3ff6dcc373e36e08e16
BLAKE2b-256 d86126e5f0c4b6b0b20881aba5531ec08cf85e7a58c4638574826e8026dba9cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page