Add a router to the currently active agent to the StateGraph.
The graph builder (StateGraph) to add the router to.
StateGraph with the router added.
Add a router to the currently active agent to the StateGraph.