langgoap.render_dot#
- render_dot(plan, *, show_resources=True, show_schedule=True)[source]#
Render a Plan as a Graphviz DOT digraph.
- Parameters:
plan (Plan) – Plan to render.
show_resources (bool) – If True, append a legend node with resource usage.
show_schedule (bool) – If True and the plan has a schedule, group actions with equal start time into clusters.
- Returns:
DOT source code as a plain string.
- Return type:
str