VocabularygraphvizInputsOutputsWord descriptionAdds a
node with the given
id to
graph. That is,
X add-node
is shorthand for
X <node> add
ExamplesUSING: accessors graphviz prettyprint sequences ;
<graph>
"foo" add-node
"bar" add-node
"baz" add-node
statements>> [ id>> . ] each
"foo"
"bar"
"baz"
USING: accessors graphviz prettyprint sequences ;
<graph>
5 <iota> [ add-node ] each
statements>> [ id>> . ] each
"0"
"1"
"2"
"3"
"4"
See alsoadd,
add-nodes,
add-pathDefinition