From bbd6d60a851df80fc6225e4078d62943f72bea9e Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Fri, 9 Jan 2004 03:19:40 +0000 Subject: Add a GraphViz-exporting ngctl(8) "dot" command. You can now create very useful .dot files of your netgraph(4) to quickly visualize the nodes, hooks and edges. An example of this can be found here: http://people.freebsd.org/~green/sample-netgraph-dot.ps If anyone would like to refine the output further, please do so. --- usr.sbin/ngctl/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin/ngctl/main.c') diff --git a/usr.sbin/ngctl/main.c b/usr.sbin/ngctl/main.c index 08671936e4a6..34373e845294 100644 --- a/usr.sbin/ngctl/main.c +++ b/usr.sbin/ngctl/main.c @@ -62,6 +62,7 @@ static const struct ngcmd *const cmds[] = { &config_cmd, &connect_cmd, &debug_cmd, + &dot_cmd, &help_cmd, &list_cmd, &mkpeer_cmd, -- cgit v1.2.3