rqt_graph provides a GUI plugin for visualizing the ROS computation graph.
$ ros2 run rqt_graph rqt_graph