Debian Codegraph @

cmd/edgepaint/edgepaint.1

raw
1 .TH CLARIFY 1 "26 February 2014"
2 .SH NAME
3 edgepaint \- edge coloring to disambiguate crossing edges
4 .SH SYNOPSIS
5 .B
6 [
7 .I options
8 ]
9 [
10 .BI \-o
11 .I outfile
12 ]
13 [
14 .I files
15 ]
16 .SH DESCRIPTION
17 .B edgepaint
18 takes as input a graph in DOT format with node position information (the
19 \fIpos\fR attribute) and colors the edges in a manner making it easier to tell
20 them apart.
21 .SH OPTIONS
22 The following options are supported:
23 .TP
24 .BI \-\-accuracy= e
25 Accuracy with which to find the maximally different coloring for each node with
26 regard to its neighbors. Default \fIe\fR = 0.01.
27 .TP
28 .BI \-\-angle= a
29 Color two edges differently if their incidence angle is less than \fIa\fR
30 degrees. Default \fIa\fR = 15.
31 .TP
32 .BI \-\-random_seed= s
33 Random seed to use. \fIs\fR must be an integer. If \fIs\fR is negative, we do
34 |\fIs\fR| iterations with different seeds and pick the best.
35 .TP
36 .BI \-\-lightness= "l1,l2"
37 Only applies for the "lab" color scheme: \fIl1\fR and \fIl2\fR must integers,
38 with 0 <= \fIl1\fR <= \fIl2\fR <=100. By default, we use "0,70".
39 .TP
40 .BI \-\-share_endpoint
41 If this option is specified, edges that share a node are not considered in
42 conflict if they are close to parallel but are on the opposite sides of the node
43 (around 180 degree).
44 .TP
45 .BI \-o " f"
46 Write output to file \fIf\fR (default: stdout).
47 .TP
48 .BI \-\-color_scheme= "c"
49 Specifies the color scheme. This can be "rgb", "gray", "lab" (default); or a
50 comma-separated list of RGB colors in hex (e.g., "#ff0000,#aabbed,#eeffaa")
51 representing a palette; or a string specifying a Brewer color scheme (e.g.,
52 "accent7"; see https://graphviz.org/doc/info/colors.html#brewer).
53 .TP
54 .B \-v
55 Turns on verbose mode.
56 .TP
57 .BI \-?
58 Print usage and exit.
59
60 .SH BUGS
61 At present, \fBedgepaint\fR does not handle graphs with loops or directed
62 multiedges. So, a graph with edges \fIa\~\->\~b\fR and \fIb\~\->\~a\fR is
63 acceptable, but not if it has edges \fIa\~\->\~b\fR and \fIa\~\->\~b\fR or
64 \fIa\~\-\-\~b\fR and \fIa\~\-\-\~b\fR. Ports are ignored in this analysis, so
65 having \fIa.x\~\->\~b\fR and \fIa.y\~\->\~b\fR is also not supported.
66 .SH AUTHOR
67 Yifan Hu <[email protected]>
68 .SH "SEE ALSO"
69 .PP
70 gvmap(1), sfdp(1), neato (1), dot(1)
71 .PP