public static DotGraph ToGraphViz(this AstFrame frame) { var visitor = new FrameToGraphViz(); frame.AcceptVisitor(visitor); return(visitor.Graph); }