doit-graph-0.3.0
توضیحات
doit cmd plugin: create task's dependency-graph image
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | doit-graph-0.3.0 |
| نام | doit-graph |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eduardo Naufel Schettino |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | http://github.com/pydoit/doit-graph |
| آدرس اینترنتی | https://pypi.org/project/doit-graph/ |
| مجوز | MIT |
# 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
نحوه نصب
نصب پکیج whl doit-graph-0.3.0:
pip install doit-graph-0.3.0.whl
نصب پکیج tar.gz doit-graph-0.3.0:
pip install doit-graph-0.3.0.tar.gz