edgepaint1
Edge coloring to disambiguate crossing edges
Usage
[ options ] [ -o outfile ] [ files ]
Overview
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
The following options are supported:
-
--accuracy=e -
Accuracy with which to find the maximally different coloring for each node with regard to its neighbors. Default e = 0.01.
-
--angle=a -
Color two edges differently if their incidence angle is less than a degrees. Default a = 15.
-
--random_seed=s -
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 -
Only applies for the "lab" color scheme: l1 and l2 must integers, with 0 <= l1 <= l2 <=100. By default, we use "0,70".
-of-
Write output to file f (default: stdout).
-
--color_scheme=c -
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 -
Turns on verbose mode.
-
-? -
Print usage and exit.
Releases
7 releases since Debian 8 (Jessie); the text changed 2 times.
--accuracy since Arch Linux 2026-11-01;
--angle since Arch Linux 2026-11-01;
--color_scheme since Arch Linux 2026-11-01;
--lightness since Arch Linux 2026-11-01;
--random_seed since Arch Linux 2026-11-01;
--share_endpoint since Arch Linux 2026-11-01.
-accuracy until Debian 13 (Trixie);
-angle until Debian 13 (Trixie);
-color_scheme until Debian 13 (Trixie);
-lightness until Debian 13 (Trixie);
-random_seed until Debian 13 (Trixie);
-share_endpoint until Debian 13 (Trixie).