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

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.2.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file doit-graph-0.2.0.tar.gz.

File metadata

  • Download URL: doit-graph-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 46c79fa29d32c875ebdee5bce36c59e6648aae67e394a38babc1fe48f34f3f59
MD5 2ddc5bcfceb48dd9d34601631fa5c373
BLAKE2b-256 e5d2ce60dbfa26f8eb7496b90c2de17a97bfe36d4603ebdb74f559363f4fb76b

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