def get_state(self):
        """Return the navigation information for recording/replaying."""
        final_road = self.final_road
        return {"spawn_road": self.spawn_road, "destination": (final_road.start_node, final_road.end_node)}
Return the navigation information for recording/replaying.
metadrive/component/navigation_module/node_network_navigation.py