p++;
p++;
while (*p) {
- if (!strcmp(line, "setlinewidth")) { /* a hack to handle the user-defined (PS) style spec in proc3d.dot */
+ if (!strcmp(line, "setlinewidth")) { /* a hack to handle the user-defined (PS) style spec in proc3d.gv */
long n = atol(p);
sprintf(buf,
/* text "y" was too high
* Graphviz uses "baseline", VML seems to use bottom of descenders - so we fudge a little
* (heuristics - based on eyeballs) */
- if (para->fontsize <12.){ /* see graphs/directed/arrows.dot */
+ if (para->fontsize <12.){ /* see graphs/directed/arrows.gv */
p1.y+=1.4+para->fontsize/5; /* adjust by approx. descender */
p2.y+=1.4+para->fontsize/5; /* adjust by approx. descender */
}else{
dot output of the edited file. The dot output window automatically refreshes everytime the file is saved
in the editor.
.PP
-If no filename is given, vimdot will use 'noname.dot' and initialise it with an example graph to get you
+If no filename is given, vimdot will use 'noname.gv' and initialise it with an example graph to get you
started.
.PP
The GUI window (provided by "dot -Txlib") supports zooming using the mouse scroll-wheel, and panning by holding the scroll-wheel down and dragging.
if test -z "$prog"; then error "the editor not found"; fi
-default="noname.dot"
+default="noname.gv"
if test -z "$1"; then
if test -s "$default"; then