# File lib/graphviz/parser.rb, line 248
248:     def self.parse( file, *hOpts, &block )
249:       dot = open(file).read
250:       parser = DotParser.new()
251:       tree = parser.parse( dot )
252:       graph = tree.eval( GraphViz::Parser::Context.new(), hOpts )
253:       
254:       yield( graph ) if( block and graph.nil? == false )
255:       
256:       return graph
257:     end