From: erg Date: Mon, 1 Nov 2010 19:22:41 +0000 (+0000) Subject: Add comment noting that the program demo needs to be renamed before it X-Git-Tag: LAST_LIBGRAPH~32^2~1152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8609710a262af6a16f90c0dd901e4df7ee96d827;p=graphviz Add comment noting that the program demo needs to be renamed before it can be successfully run. --- diff --git a/dot.demo/demo.c b/dot.demo/demo.c index 8b31aafb7..a692b48f5 100644 --- a/dot.demo/demo.c +++ b/dot.demo/demo.c @@ -14,6 +14,13 @@ * AT&T Research, Florham Park NJ * **********************************************************/ +/* Note that, with the call to gvParseArgs(), this application assumes that + * a known layout algorithm is going to be specified. This can be done either + * using argv[0] or requiring the user to run this code with a -K flag specifying + * which layout to use. In the former case, after this program has been built as + * 'demo', you will need to rename it as one of the installed layout engines such + * as dot, neato, sfdp, etc. + */ #include int main(int argc, char **argv) @@ -21,7 +28,6 @@ int main(int argc, char **argv) Agraph_t *g; Agnode_t *n, *m; Agedge_t *e; - Agsym_t *a; GVC_t *gvc; /* set up a graphviz context */