# File lib/graphviz/parser.rb, line 61 61: def eval( context, hOpts ) 62: # puts "GRAPH TYPE = #{type.text_value}" 63: # puts "GRAPH NAME = #{name.text_value}" 64: 65: hOpts = hOpts[0].merge( {:type => type.text_value} ) 66: 67: # Create Graph 68: context.graph = GraphViz.new( name.text_value.gsub(/"/, ""), hOpts ) 69: 70: # Eval cluster 71: cluster.eval( context ) 72: 73: return context.graph 74: end