Skip to content

Commit da75ce6

Browse files
07CalCManagor
andauthored
gc: add page (#18537)
Co-authored-by: Managor <[email protected]>
1 parent ce6e800 commit da75ce6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pages/common/gc.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# gc
2+
3+
> Count nodes, edges, connected components, or clusters in Graphviz `.dot` files.
4+
> More information: <https://graphviz.org/pdf/gc.1.pdf>.
5+
6+
- Count nodes and edges in a file:
7+
8+
`gc {{path/to/file.dot}}`
9+
10+
- Count only [n]odes:
11+
12+
`gc -n {{path/to/file.dot}}`
13+
14+
- Count only [e]dges:
15+
16+
`gc -e {{path/to/file.dot}}`
17+
18+
- Count [c]onnected components:
19+
20+
`gc -c {{path/to/file.dot}}`
21+
22+
- Display help:
23+
24+
`gc -?`

0 commit comments

Comments
 (0)