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 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