/[base]
ViewVC logotype

Revision 366430


Jump to revision: Previous Next
Author: kevans
Date: Sun Oct 4 17:07:13 2020 UTC (3 years, 9 months ago)
Changed paths: 1
Log Message:
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.

Submitted by:	Lutz Donnerhacke <lutz_donnerhacke.de>
Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21965


Changed paths

Path Details
Directoryhead/usr.sbin/ngctl/dot.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27