pyrobosim.web.figure.num_graph_traces

pyrobosim.web.figure.num_graph_traces(selected_robot: Robot | None) int

Counts the traces emitted for planner graphs (two per graph: edges, nodes).

Parameters:

selected_robot – The robot whose planner graphs are displayed, if any.

Returns:

The number of planner-graph traces at the start of the figure.