From ab0602c74b5aee253176583786f487da55d66907 Mon Sep 17 00:00:00 2001 From: green 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 0867193..34373e8 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.1