]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
kconfig2dot: Minor changes
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 11 Oct 2015 07:06:15 +0000 (09:06 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 11 Oct 2015 07:06:15 +0000 (09:06 +0200)
scripts/kconfig2dot/kconfig2dot.c

index 1b1d1e42e3da4651192223f36c18cca42e5298f6..7ff20007ec79b720d476e1a759ebef0e82e4f386 100644 (file)
@@ -123,7 +123,7 @@ void print_expr(FILE *f, struct expr *e, const char *parent, const char *suffix,
            print_oper(f, e, parent, "&");
            break;
        case E_NOT:
-           print_expr(f, e->left.expr, parent, suffix, "label=\"!\",color=red");
+           print_expr(f, e->left.expr, parent, suffix, "arrowhead=odot");
            break;
        case E_EQUAL:
            print_oper(f, e, parent, "=");
@@ -157,7 +157,9 @@ void print_symbol(FILE *f, struct symbol *sym)
 
     char *opts = "";
     if (is_interesting(sym))
-       opts = " [color=blue,fontcolor=blue]";
+       opts = " [penwidth=3]";
+    else
+       opts = " [color=gray]";
     fprintf(f, "\"%s\"%s;\n", sym->name, opts);
     print_expr(f, sym->dir_dep.expr, sym->name, "", "");
     if (sym->rev_dep.expr) {