From da75ce60e6d6035e1d95b65255ec4d2b37af2449 Mon Sep 17 00:00:00 2001 From: CalC <96346957+07CalC@users.noreply.github.com> Date: Tue, 7 Oct 2025 23:23:52 +0530 Subject: [PATCH] gc: add page (#18537) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/gc.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/gc.md diff --git a/pages/common/gc.md b/pages/common/gc.md new file mode 100644 index 0000000000..3cd444840b --- /dev/null +++ b/pages/common/gc.md @@ -0,0 +1,24 @@ +# gc + +> Count nodes, edges, connected components, or clusters in Graphviz `.dot` files. +> More information: . + +- Count nodes and edges in a file: + +`gc {{path/to/file.dot}}` + +- Count only [n]odes: + +`gc -n {{path/to/file.dot}}` + +- Count only [e]dges: + +`gc -e {{path/to/file.dot}}` + +- Count [c]onnected components: + +`gc -c {{path/to/file.dot}}` + +- Display help: + +`gc -?`