Colorize edges using a color scheme. (See https://graphviz.org/doc/info/colors.html#brewer)

edgepaint

  • Colorize edges of a graph layout to clarify crossing edges.
    Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`.
    More information: <https://graphviz.org/pdf/edgepaint.1.pdf>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

edgepaint -color-scheme={{accent7}} {{path/to/layout.gv}} > {{path/to/output.gv}}

click the source code to copy install edgepaint on any operating system with command-not-found.com