From 8609710a262af6a16f90c0dd901e4df7ee96d827 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 1 Nov 2010 19:22:41 +0000 Subject: [PATCH] Add comment noting that the program demo needs to be renamed before it can be successfully run. --- dot.demo/demo.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 */ -- 2.40.0