aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-08 14:55:31 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-02-08 14:55:31 +0100
commita5ddb5ef7805ee67743766a3adfb52a3e4d4a80c (patch)
tree198284bf205d9871c42f0f2d1a766d5a8a49be21
parentRemove pendatic, update macro to be more portable. (diff)
downloadcalp-a5ddb5ef7805ee67743766a3adfb52a3e4d4a80c.tar.gz
calp-a5ddb5ef7805ee67743766a3adfb52a3e4d4a80c.tar.xz
Made root of graphviz output gray.
-rw-r--r--trie.inc.h4
1 files 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);