CLARIFY(1)
π CLARIFY(1) β like, the edgepaint manual, but make it make sense π
okay bestie, gather round, because this one is genuinely iconic. we're talking about edgepaint from the General Commands Manual section of your local man pages, and she is here to make your crossing edges stop looking like a bowl of spaghetti. no cap.
β¨ NAME β¨
edgepaint β edge coloring to disambiguate crossing edges
like, that's it. that's the whole job. she paints your edges so you can tell them apart. slay.
πΈ SYNOPSIS πΈ
[ options ] [ -o outfile ] [ files ]
yes bestie, that's literally the whole synopsis. options, then optionally -o outfile, then your files. she's low maintenance fr fr. π
π¦ DESCRIPTION π¦
so here's the tea. edgepaint takes as input a graph in DOT format that has node position information β that's the pos attribute, okay, don't forget it β and then it colors the edges in a manner making it easier to tell them apart.
that's it. that's the whole vibe. you give her positioned nodes, she gives you back edges that don't all blur into one chaotic mess. main character energy honestly. π
π OPTIONS π
the following options are supported, and yes, we're doing all of them, because we don't skip. periodt.
--accuracy=eβ the accuracy with which to find the maximally different coloring for each node with regard to its neighbors. defaulte = 0.01.--angle=aβ color two edges differently if their incidence angle is less thanadegrees. defaulta = 15.--random_seed=sβ the random seed to use.smust be an integer. and here's the fun part: ifsis negative, we do|s|iterations with different seeds and pick the best. like, she's shopping around. we love a queen who explores her options. ποΈ--lightness=l1,l2β only applies for the"lab"color scheme:l1andl2must be integers, with0 <= l1 <= l2 <= 100. by default, we use"0,70".--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). they're just vibing on opposite sides, leave them alone. π«Ά-o fβ write output to filef(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"; seehttps://graphviz.org/doc/info/colors.html#brewer). so many options, so many fits to serve. π-vβ turns on verbose mode. she'll tell you everything she's doing. oversharing? maybe. helpful? absolutely. π¬-?β print usage and exit. the classic "wait what do i type" escape hatch.
π BUGS π
okay so this is the part where we keep it real, because knowing the limits is part of the assignment.
at present, edgepaint does not handle graphs with loops or directed multiedges. so, a graph with edges a -> b and b -> a is acceptable, but not if it has edges a -> b and a -> b or a -- b and a -- b.
also, ports are ignored in this analysis, so having a.x -> b and a.y -> b is also not supported.
so like, no loops, no directed multiedges, and no ports. she's got boundaries and honestly, good for her. π
π AUTHOR π
Yifan Hu <yifanhu@yahoo.com>
the icon, the legend, the moment. thank you for your service. π«‘
β SEE ALSO β
go read those next bestie, the lore is deep. π
and that's a wrap, my love. this page is from the General Commands Manual, dated 26 February 2014, and it's filed under CLARIFY(1). go forth and color those edges. iykyk. πβ¨π
π¦ where this page comes from
- alpine 3.22: graphviz-doc 12.2.1-r0 Β· EPL-1.0
- alpine 3.23: graphviz-doc 12.2.1-r0 Β· EPL-1.0
- alpine 3.24: graphviz-doc 12.2.1-r3 Β· EPL-1.0
- arch rolling: graphviz 16.1.0-2 Β· EPL
- fedora 43: graphviz 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz 13.1.2-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz 13.1.2-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.2-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.2-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.4-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.4-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- nixos 26.05: graphviz 12.2.1
- nixpkgs unstable: graphviz 15.1.1
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- ubuntu resolute: graphviz-tools 14.1.2-1ubuntu1 Β· EPL-1.0
- ubuntu stonking: graphviz-tools 14.1.2-1ubuntu2 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms