Handbook
Glossary
[edge ( -- attrs )
Graphviz notation
ยป
Aliases that resemble DOT code
Prev:
[node ( -- attrs )
Next:
[graph ( -- attrs )
Vocabulary
graphviz
.
notation
Inputs
None
Outputs
attrs
an
edge-attributes
Word description
Shorthand for
<edge-attributes>
to be used with
];
and attribute-setting generic words (see
Notation for setting Graphviz attributes
) so that adding
edge-attributes
to a
graph
or
subgraph
reads more like the equivalent in the DOT language.
Examples
Instead of writing
<graph> <edge-attributes> "red" =color add
it looks better to write
<graph> [edge "red" =color ];
Compare this with the DOT language, where you'd write
graph { [edge color="red" ]; }
See also
[add-node
,
[add-edge
,
[--
,
[->
,
[node
,
[graph
,
];
Definition
USING:
graphviz.attributes
;
IN:
graphviz.notation
ALIAS:
[edge
<edge-attributes>
inline