bcomps.1 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .TH BCOMPS 1 "18 November 2003"
  2. .SH NAME
  3. bcomps \- biconnected components filter for graphs
  4. .SH SYNOPSIS
  5. .B bcomps
  6. [
  7. .B \-stvx?
  8. ]
  9. [
  10. .BI \-o outfile
  11. ]
  12. [
  13. .I files
  14. ]
  15. .SH DESCRIPTION
  16. .B bcomps
  17. decomposes graphs into their biconnected components,
  18. printing the components to standard output.
  19. .SH OPTIONS
  20. The following options are supported:
  21. .TP
  22. .B \-s
  23. No output graph is printed. Implies the
  24. .B \-v
  25. flag.
  26. .TP
  27. .B \-t
  28. Print the underlying block-cutvertex tree.
  29. .TP
  30. .B \-x
  31. Each biconnected component is printed as a separate root graph.
  32. .TP
  33. .B \-v
  34. Prints number of blocks and cutvertices.
  35. .TP
  36. .BI \-o " outfile"
  37. If specified, each root graph will be written to a different file
  38. with the names derived from \fIoutfile\fP. In particular,
  39. if both \fB\-o\fP and \fB\-x\fP flags are used, then each
  40. block is written to a different file. If \fIoutfile\fP does
  41. not have a suffix, the nth block of the ith graph is written
  42. to \fIoutfile_n_i\fP. However, the 0th block of the 0th graph is written to
  43. \fIoutfile\fP.
  44. .sp
  45. If \fIoutfile\fP has a suffix, i.e., has the form \fIbase.sfx\fP,
  46. then the files will have the same name as above, except appended with \fI.sfx\fP.
  47. .sp
  48. The block-cutvertex tree of ith graph is written to \fIoutfile_n_T\fP,
  49. with an appended suffix if specified.
  50. .LP
  51. By default, each input graph is printed, with each
  52. block given as a subgraph whose name is a concatenation of
  53. the name of the input graph, the string "_bcc_" and the
  54. number of the block.
  55. .SH OPERANDS
  56. The following operand is supported:
  57. .TP 8
  58. .I files
  59. Names of files containing 1 or more graphs in dot format.
  60. If no
  61. .I files
  62. operand is specified,
  63. the standard input will be used.
  64. .SH RETURN CODES
  65. .B bcomps
  66. returns
  67. .B 0
  68. if all the input graphs are biconnected; and
  69. non-zero if any graph has multiple blocks, or any error occurred.
  70. .SH "BUGS"
  71. It is possible, though unlikely, that the names used for connected
  72. components and their subgraphs may conflict with existing subgraph names.
  73. .SH AUTHORS
  74. Emden R. Gansner <[email protected]>
  75. .SH "SEE ALSO"
  76. ccomps(1), gc(1), dot(1), gvpr(1), gvcolor(1), acyclic(1), sccmap(1), tred(1), libgraph(3)