From a5ddb5ef7805ee67743766a3adfb52a3e4d4a80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 8 Feb 2019 14:55:31 +0100 Subject: Made root of graphviz output gray. --- trie.inc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trie.inc.h b/trie.inc.h index 4c42da7a..5fa047db 100644 --- a/trie.inc.h +++ b/trie.inc.h @@ -115,9 +115,9 @@ FREE_F(TRIE(TYPE)) { int TRIE_DOT(TYPE) ( TRIE(TYPE)* trie, FILE* f ) { TRIE_NODE(TYPE)* n = trie->root->child; - fputs("root;", f); + fputs("root [fontcolor=gray, color=gray];", f); while (n != NULL) { - fprintf(f, "root -> \"%p\"\n", + fprintf(f, "root -> \"%p\" [color=gray]\n", (void*) n); fprintf(f, "subgraph \"cluster_%c\" {\n", n->c); -- cgit v1.2.3