show_workflow now writes the graph before showing