langgoap.render_ascii#
- render_ascii(plan, *, show_resources=True, show_schedule=True)[source]#
Render a Plan as a top-to-bottom ASCII tree.
Each action is one line prefixed with its index. Dependency arrows are drawn to the left. When a schedule is attached, entries at the same start time are grouped into a
┬── parallel:block.- Parameters:
plan (Plan) – Plan to render.
show_resources (bool) – If True, append a resource usage table.
show_schedule (bool) – If True, render parallel groups from the schedule.
- Returns:
ASCII string representation of the plan.
- Return type:
str