Skip to content

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

License

Notifications You must be signed in to change notification settings

pydoit/doit-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages