[node ( -- attrs )
Graphviz notation ยป Aliases that resemble DOT code

Prev:[-> ( tail head -- edge )
Next:[edge ( -- attrs )


Vocabulary
graphviz.notation

Inputs
None

Outputs
attrsa node-attributes


Word description
Shorthand for <node-attributes> to be used with ]; and attribute-setting generic words (see Notation for setting Graphviz attributes) so that adding node-attributes to a graph or subgraph reads more like the equivalent in the DOT language.

Examples
Instead of writing
<graph> <node-attributes> "red" =color add

it looks better to write
<graph> [node "red" =color ];

Compare this with the DOT language, where you'd write
graph { [node color="red" ]; }


See also
[add-node, [add-edge, [--, [->, [edge, [graph, ];

Definition