diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-08 14:55:31 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-08 14:55:31 +0100 |
commit | a5ddb5ef7805ee67743766a3adfb52a3e4d4a80c (patch) | |
tree | 198284bf205d9871c42f0f2d1a766d5a8a49be21 /trie.inc.h | |
parent | Remove pendatic, update macro to be more portable. (diff) | |
download | calp-a5ddb5ef7805ee67743766a3adfb52a3e4d4a80c.tar.gz calp-a5ddb5ef7805ee67743766a3adfb52a3e4d4a80c.tar.xz |
Made root of graphviz output gray.
Diffstat (limited to 'trie.inc.h')
-rw-r--r-- | trie.inc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |