HomeFreeBSD

MFC r366430: ngctl: add -c (compact output) for the dot command

Description

MFC r366430: ngctl: add -c (compact output) for the dot command

The output of "ngctl dot" is suitable for small netgraph networks. Even
moderate complex netgraph setups (about a dozen nodes) are hard to
understand from the .dot output, because each node and each hook are shown
as a full blown structure.

This patch allows to generate much more compact output and graphs by
omitting the extra structures for the individual hooks. Instead the names of
the hooks are labels to the edges.

Details

Provenance
kevansAuthored on
Parents
rS367663: MFC r367448: vt: resolve conflict between VT_ALT_TO_ESC_HACK and DBG
Branches
Unknown
Tags
Unknown