functor (G : Graph.Graphviz.GraphWithDotAttrs->
  sig
    exception DotError of string
    val layout_of_xdot :
      xdot_file:string -> G.t -> (G.vertex, G.edge, string) XDot.graph_layout
    val layout_of_dot :
      ?cmd:string ->
      dot_file:string -> G.t -> (G.vertex, G.edge, string) XDot.graph_layout
  end