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