BOTCH-GRAPH-TRED(1)
β¨ botch-graph-tred β¨
okay bestie so this is a section 1 man page from the botch tools collection, and it's called botch-graph-tred and honestly? it's a little icon. let's get into it π
π NAME π
botch-graph-tred β find the transitive reduction of a graph in GraphML or dot format
π¦ SYNOPSIS π¦
botch-graph-tred [options] [ingraph] [outgraph]
πΈ DESCRIPTION πΈ
So the whole vibe here is: you make a graph that has as few edges as possible while keeping the exact same reachability relationships. that's the transitive reduction, and it's lowkey the moment. β¨
Calculating the transitive reduction is especially helpful when you're trying to render dense graphs, because it strips out all the clutter of the extra edges. it's giving "decluttered main character graph." π§
This tool does the same thing as tred(1) from the graphviz suite, except it works for GraphML and dot input instead of just dot input. also it's orders of magnitude faster (for unknown reasons). no cap, nobody knows why, we just accept the blessing ππ
Now for the important deets:
- If either (or both) of the positional arguments is/are omitted, then it reads GraphML or dot from standard input and/or writes GraphML or dot to standard output, respectively.
- Passing a
-as either argument explicitly specifies to read the input from standard input and write the output to standard output, respectively.
The input graph type gets determined automatically. If the output graph is given as a filename, then the output type will be GraphML if the filename ends with .xml, and dot if the filename ends with .dot. If the output is done on standard output, then it happens in the same format as the input graph. π«Ά
π OPTIONS π
-h,--helpβ Display help.-v,--verboseβ Be verbose.
π BUGS π
See <http://bugs.debian.org/botch>.
(yeah, that's the whole section. we love a short king.)
π SEE ALSO π
Debian doc-base Manual /usr/share/doc/botch/wiki/Home.html
π AUTHOR π
This man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate.
π COPYRIGHT π
Copyright 2012-2014 Johannes Schauer, Pietro Abate
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. A special linking exception to the GNU Lesser General Public License applies to this library, see the COPYING file for more information.
ngl the license part is the "read the whole thing before you redistribute" era of the page, and yes you should actually read it, it's fr fr important π
and that's the whole page bestie! π this one's from perl v5.36.0, dated 2023-02-17 β yeah she's been around a minute but she's still slaying πβ¨π¦
π¦ where this page comes from
- debian bookworm: botch 0.24-2 Β· LGPL-3.0-or-later WITH OCaml-linking exception
- ubuntu noble: botch 0.24-2 Β· LGPL-3.0-or-later WITH OCaml-linking exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms