Linux command
sccmap 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Find strongly connected components
sccmap [graph.dot]
Output to file
sccmap -o [output.dot] [graph.dot]
Show statistics
sccmap -v [graph.dot]
Print number of nodes
sccmap -S [graph.dot]
Silent mode
sccmap -s [graph.dot]
说明
sccmap decomposes directed graphs into their strongly connected components (SCCs), where each SCC is a maximal set of nodes in which every node is reachable from every other node. It reads DOT format graphs and outputs each component as a separate subgraph. With the -v flag, it reports statistics including the number and sizes of components, which is useful for understanding the structure of large directed graphs. Part of the Graphviz graph visualization package.
参数
- -o _FILE_
- Output file.
- -v
- Verbose statistics.
- -s
- Silent mode.
- -S
- Print the number of nodes in each strongly connected component.
- -d
- Decompose the graph and number each node with its SCC index.
FAQ
What is the sccmap command used for?
sccmap decomposes directed graphs into their strongly connected components (SCCs), where each SCC is a maximal set of nodes in which every node is reachable from every other node. It reads DOT format graphs and outputs each component as a separate subgraph. With the -v flag, it reports statistics including the number and sizes of components, which is useful for understanding the structure of large directed graphs. Part of the Graphviz graph visualization package.
How do I run a basic sccmap example?
Run `sccmap [graph.dot]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o _FILE_ do in sccmap?
Output file.