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

Prev:-> ( graph tail head -- graph' )
Next:~-> ( graph nodes -- graph' )


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
<graph> 1 2 -- 2 3 -- 3 4 --

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

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


See also
--

Definition