snippetbashTip
edgepaint — Colorize edges of a graph layout to clarify crossing edges. Graphviz filters: `acyclic`, `bcomps`, `
Viewed 0 times
graphcommandedgepaintlayoutcliedgesclarifycolorize
Problem
How to use the
edgepaint command: Colorize edges of a graph layout to clarify crossing edges. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, and unflatten. More information: <https://graphviz.org/pdf/edgepaint.1.pdf>.Solution
edgepaint — Colorize edges of a graph layout to clarify crossing edges. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, and unflatten. More information: <https://graphviz.org/pdf/edgepaint.1.pdf>.Colorize edges of one or more graph layouts (that already have layout information) to clarify crossing edges:
edgepaint {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}Colorize edges using a color scheme. (See <https://graphviz.org/doc/info/colors.html#brewer>):
edgepaint -color-scheme={{accent7}} {{path/to/layout.gv}} > {{path/to/output.gv}}Lay out a graph and colorize its edges, then convert to a PNG image:
dot {{path/to/input.gv}} | edgepaint | dot -T {{png}} > {{path/to/output.png}}Display help:
edgepaint -?Code Snippets
Colorize edges of one or more graph layouts (that already have layout information) to clarify crossing edges
edgepaint {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}Colorize edges using a color scheme. (See <https://graphviz.org/doc/info/colors.html#brewer>)
edgepaint -color-scheme={{accent7}} {{path/to/layout.gv}} > {{path/to/output.gv}}Lay out a graph and colorize its edges, then convert to a PNG image
dot {{path/to/input.gv}} | edgepaint | dot -T {{png}} > {{path/to/output.png}}Display help
edgepaint -?Context
tldr-pages: common/edgepaint
Revisions (0)
No revisions yet.