Drawings

class ActionTree.drawings.ExecutionReport(action)

Report about the execution of the action, containing successes and failures as well as timing information.

write_to_png(filename)

Write the report as a PNG image to the specified file.

See also get_mpl_figure() and plot_on_mpl_axes() if you want to draw the report somewhere else.

get_mpl_figure()

Return a matplotlib.figure.Figure of this report.

See also plot_on_mpl_axes() if you want to draw the report on your own matplotlib figure.

See also write_to_png() for the simplest use-case.

plot_on_mpl_axes(ax)

Plot this report on the provided matplotlib.axes.Axes.

See also write_to_png() and get_mpl_figure() for the simpler use-cases.

class ActionTree.drawings.DependencyGraph(action)

The dependencies of the action.

class Annotations(node)
node

Alias for field number 0

DependencyGraph.write_to_png(filename)

Write the graph as a PNG image to the specified file.

See also get_graphviz_graph() if you want to draw the graph somewhere else.

DependencyGraph.get_graphviz_graph()

Return a graphviz.Digraph of this dependency graph.

See also write_to_png() for the simplest use-case.