Move some code to show_graph.C
Update.