From bf16d1edbf977d5ba622ffbb2bac00ef19b700fe Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 8 Jul 2013 11:50:29 -0400 Subject: [PATCH] Extend ccomps to allow a range of component sizes --- cmd/tools/ccomps.1 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/cmd/tools/ccomps.1 b/cmd/tools/ccomps.1 index 7c13761a8..9085ed43a 100644 --- a/cmd/tools/ccomps.1 +++ b/cmd/tools/ccomps.1 @@ -7,7 +7,7 @@ ccomps \- connected components filter for graphs .B \-sxvenzC? ] [ -.BI -X [#]s[-f] +.BI -X [#%]s[-f] ] [ .BI -o outfile @@ -65,13 +65,24 @@ if any. .BI \-X# " start-" .TP .BI \-X# " start-last" -Prints only components in the given range. In the first form, only +Prints only components in the given range of indices. In the first form, only the component whose index is \fIstart\fP, if any, is printed. In the second form, each component whose index is at least \fIstart\fP is printed. In the last form, only those components whose indices are in the range \fB[\fP\fIIstart\fP\fB,\fP\fIlast\fP\fB]\fP are printed. Thus, the flag \fB-x\fP is equivalent to \fB-X#0-\fP. .TP +.BI \-X# " min" +.TP +.BI \-X# " min-" +.TP +.BI \-X# " min-max" +Prints only components in the given range of sizes. In the first form, only +a component whose size is \fImin\fP, if any, is printed. +In the second form, each component whose size is at least \fImin\fP +is printed. In the last form, only those components whose sizes are +in the range \fB[\fP\fIImin\fP\fB,\fP\fImax\fP\fB]\fP are printed. +.TP .BI \-o " outfile" If specified, each graph will be written to a different file with the names derived from \fIoutfile\fP. In particular, -- 2.40.0