# File lib/graphviz/nothugly.rb, line 26
  def self.nothugly( file, save = true )
    xslt = XML::XSLT.new()
    xslt.xml = file
    xslt.xsl = File.join( File.dirname(File.expand_path(__FILE__)), "nothugly", "nothugly.xsl" )

    out = xslt.serve()
  
    if save
      fname = File.join( File.dirname(File.expand_path(file)), File.basename(file))
      File.open( fname, "w" ) { |io|
        io.print out
      }
    else
      return out
    end
  end