CLARIFY(1) General Commands Manual CLARIFY(1)

# [NAME](#NAME)

edgepaint - edge coloring to disambiguate crossing edges

# [SYNOPSIS](#SYNOPSIS)

**\[** *options* ] \[ **-o** *outfile* ] \[ *files* ]

# [DESCRIPTION](#DESCRIPTION)

**edgepaint** takes as input a graph in DOT format with node position information (the *pos* attribute) and colors the edges in a manner making it easier to tell them apart.

# [OPTIONS](#OPTIONS)

The following options are supported:

[**--accuracy=e**](#accuracy=)

Accuracy with which to find the maximally different coloring for each node with regard to its neighbors. Default *e* = 0.01.

[**--angle=a**](#angle=)

Color two edges differently if their incidence angle is less than *a* degrees. Default *a* = 15.

[**--random\_seed=s**](#random_seed=)

Random seed to use. *s* must be an integer. If *s* is negative, we do |*s*| iterations with different seeds and pick the best.

[**--lightness=l1,l2**](#lightness=)

Only applies for the "lab" color scheme: *l1* and *l2* must integers, with 0 &lt;= *l1* &lt;= *l2* &lt;=100. By default, we use "0,70".

[**--share\_endpoint**](#share_endpoint)

If this option is specified, edges that share a node are not considered in conflict if they are close to parallel but are on the opposite sides of the node (around 180 degree).

[**-o f**](#o)

Write output to file *f* (default: stdout).

[**--color\_scheme=c**](#color_scheme=)

Specifies the color scheme. This can be "rgb", "gray", "lab" (default); or a comma-separated list of RGB colors in hex (e.g., "#ff0000,#aabbed,#eeffaa") representing a palette; or a string specifying a Brewer color scheme (e.g., "accent7"; see https://graphviz.org/doc/info/colors.html#brewer).

[**-v**](#v)

Turns on verbose mode.

**-?**

Print usage and exit.

# [BUGS](#BUGS)

At present, **edgepaint** does not handle graphs with loops or directed multiedges. So, a graph with edges *a -&gt; b* and *b -&gt; a* is acceptable, but not if it has edges *a -&gt; b* and *a -&gt; b* or *a -- b* and *a -- b*. Ports are ignored in this analysis, so having *a.x -&gt; b* and *a.y -&gt; b* is also not supported.

# [AUTHOR](#AUTHOR)

Yifan Hu &lt;yifanhu@yahoo.com&gt;

# [SEE ALSO](#SEE_ALSO)

[gvmap(1)](/man/os/graphviz/gvmap.1), [sfdp(1)](/man/os/graphviz/sfdp.1), [neato (1)](/man/os/graphviz/neato.1), [dot(1)](/man/os/graphviz/dot.1)

26 February 2014

---

Document: edgepaint(1) from graphviz 16.1.0-r0 (Chainguard OS)
Source: https://gitlab.com/graphviz/graphviz
