Programs

py-trees-render

Point this program at a method which creates a root to render to dot/svg/png.

Examples

$ py-trees-render py_trees.demos.stewardship.create_tree
$ py-trees-render --name=foo py_trees.demos.stewardship.create_tree
$ py-trees-render --kwargs='{"level":"all"}' py_trees.demos.dot_graphs.create_tree

usage: py-trees-render [-h]
                       [-l {all,fine_detail,detail,component,big_picture}]
                       [-n NAME] [-k KWARGS]
                       method
Positional arguments:
method space separated list of blackboard variables to watch
Options:
-l=fine_detail, --level=fine_detail
 

visibility level

Possible choices: all, fine_detail, detail, component, big_picture

-n, --name name to use for the created files (defaults to the root behaviour name)
-k={}, --kwargs={}
 dictionary of keyword arguments to the method
_images/render.gif