[Bug 240689] usr.sbin/ngctl: Generate more compact GraphWiz output

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 19 15:08:14 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240689

            Bug ID: 240689
           Summary: usr.sbin/ngctl: Generate more compact GraphWiz output
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: lutz at donnerhacke.de

Created attachment 207627
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207627&action=edit
Patch for usr.sbin/ngctl/dot.c

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list