← 返回命令列表

Linux command

bcomps 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Decompose graph into biconnected components

bcomps [input.gv] > [output.gv]

Print number of blocks and cutvertices

bcomps -v [input.gv]

Print each component as separate graph

bcomps -x [input.gv]

Print block-cutvertex tree

bcomps -t [input.gv]

Write components to separate files

bcomps -o [output.gv] [input.gv]

Silent mode with statistics only

bcomps -sv [input.gv]

说明

bcomps decomposes graphs into their biconnected components, printing the components to standard output. A biconnected component is a maximal subgraph that remains connected after removal of any single vertex. The tool is part of the Graphviz graph visualization suite and works with DOT language graph files.

参数

-s
Silent mode; no output graph printed (implies -v)
-t
Print the underlying block-cutvertex tree
-v
Print number of blocks and cutvertices
-x
Print each biconnected component as separate root graph
-o _outfile_
Write each root graph to different file derived from outfile
-?
Display help information

FAQ

What is the bcomps command used for?

bcomps decomposes graphs into their biconnected components, printing the components to standard output. A biconnected component is a maximal subgraph that remains connected after removal of any single vertex. The tool is part of the Graphviz graph visualization suite and works with DOT language graph files.

How do I run a basic bcomps example?

Run `bcomps [input.gv] > [output.gv]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s do in bcomps?

Silent mode; no output graph printed (implies -v)