=root ( graphviz-obj val -- graphviz-obj' )


Vocabulary
graphviz.notation

Definition
IN: graphviz.notation

GENERIC# =root 1 ( graphviz-obj val -- graphviz-obj' )


Methods
USING: accessors graphviz.attributes graphviz.notation present
;

M: graph-attributes =root present >>root ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: graph =root <graph-attributes> swap present >>root add ;


USING: accessors graphviz.attributes graphviz.notation present
;

M: node-attributes =root present >>root ;


USING: accessors graphviz graphviz.notation kernel present ;

M: node =root present over attributes>> root<< ;


USING: accessors graphviz graphviz.attributes graphviz.notation
kernel present ;

M: subgraph =root <graph-attributes> swap present >>root add ;