~-> ( graph nodes -- graph' )
Graphviz notation ยป Aliases that resemble DOT code

Prev:~-- ( graph nodes -- graph' )
Next:[add-node ( id -- node )


Vocabulary
graphviz.notation

Inputs
grapha graph or a subgraph
nodesa sequence


Outputs
graph'a graph or a subgraph


Word description
Shorthand for add-path. Meant to be a Factor replacement for the DOT language's more verbose path notation.

Examples
Instead of writing
<digraph> 1 2 -> 2 3 -> 3 4 ->

you can write
<digraph> { 1 2 3 4 } ~->

whereas in the DOT language you'd write
digraph { 1 -> 2 -> 3 -> 4 }


See also
add-edge, ->

Definition