https://github.com/pydoit/doit-graph
doit plugin: Generates a graph of tasks (using graphviz's dot)
https://github.com/pydoit/doit-graph
Last synced: 9 months ago
JSON representation
doit plugin: Generates a graph of tasks (using graphviz's dot)
- Host: GitHub
- URL: https://github.com/pydoit/doit-graph
- Owner: pydoit
- License: mit
- Created: 2018-07-02T08:22:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-11T08:21:21.000Z (almost 7 years ago)
- Last Synced: 2025-04-09T18:05:46.785Z (about 1 year ago)
- Language: Python
- Size: 46.9 KB
- Stars: 18
- Watchers: 2
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
# doit-graph
Generates a graph (using graphviz's dot) of [doit](http://pydoit.org) tasks.
Sample for [doit tutorial](http://pydoit.org/tutorial_1.html) tasks:

## 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

- 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