]> granicus.if.org Git - graphviz/commitdiff
add support for style=invisible (cv style=invis) to agree with documentation
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:06:11 +0000 (21:06 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:06:11 +0000 (21:06 +0000)
lib/gvc/gvrender.c

index 1c94731287390c8035ed3d68b1bfc67805cf623c..87a43fd238b9c15b9b1db2fc172213e7e74c251d 100644 (file)
@@ -745,7 +745,7 @@ void gvrender_set_style(GVJ_t * job, char **s)
                style->pen = PEN_DASHED;
            else if (streq(line, "dotted"))
                style->pen = PEN_DOTTED;
-           else if (streq(line, "invis"))
+           else if (streq(line, "invis") || streq(line, "invisible"))
                style->pen = PEN_NONE;
            else if (streq(line, "bold"))
                style->penwidth = PENWIDTH_BOLD;