From: Stefano Zacchiroli Date: Tue, 18 Jul 2006 14:21:04 +0000 (+0000) Subject: double quotes node identifiers X-Git-Tag: 0.4.95@7852~1190 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=02d43b992089522fd356c7e384bf4a0e66f280c7;p=helm.git double quotes node identifiers --- diff --git a/components/extlib/graphvizPp.ml b/components/extlib/graphvizPp.ml index 18ebd94d9..aa472f769 100644 --- a/components/extlib/graphvizPp.ml +++ b/components/extlib/graphvizPp.ml @@ -47,11 +47,11 @@ module Dot = let header ?(name = "g") fmt = fprintf fmt "@[digraph %s {@," name let node name ?(attrs = []) fmt = - fprintf fmt "@[%s@ [" name; + fprintf fmt "@[\"%s\"@ [" name; attributes attrs fmt; fprintf fmt "];@]@," let edge name1 name2 ?(attrs = []) fmt = - fprintf fmt "@[%s ->@ %s@ [" name1 name2; + fprintf fmt "@[\"%s\" ->@ \"%s\"@ [" name1 name2; attributes attrs fmt; fprintf fmt "];@]@," let raw s fmt = pp_print_string fmt s