mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 01:58:50 +00:00
Update cheatsheets
This commit is contained in:
26
edgepaint
Normal file
26
edgepaint
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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>.
|
||||
|
||||
- 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 -?`
|
||||
Reference in New Issue
Block a user