Color private-reachable nodes gray

master
Kai Pastor 2024-03-21 23:07:11 +01:00 committed by Ariadne Conill
parent eaf1a2d804
commit 6219af9a0a
1 changed files with 5 additions and 1 deletions

View File

@ -263,7 +263,11 @@ print_digraph_node(pkgconf_client_t *client, pkgconf_pkg_t *pkg, void *data)
if(pkg->flags & PKGCONF_PKG_PROPF_VIRTUAL) if(pkg->flags & PKGCONF_PKG_PROPF_VIRTUAL)
return; return;
if (pkg->flags & PKGCONF_PKG_PROPF_VISITED_PRIVATE)
printf("\"%s\" [fontname=Sans fontsize=8 fontcolor=gray color=gray]\n", pkg->id);
else
printf("\"%s\" [fontname=Sans fontsize=8]\n", pkg->id); printf("\"%s\" [fontname=Sans fontsize=8]\n", pkg->id);
if (last_seen != NULL) if (last_seen != NULL)
{ {
if (*last_seen != NULL) if (*last_seen != NULL)