<subgraph> ( id -- subgraph )
Graphviz ยป Graphviz data structures

Prev:<strict-digraph> ( -- graph )
Next:<anon> ( -- subgraph )


Vocabulary
graphviz

Inputs
idan object


Outputs
subgrapha subgraph


Word description
Constructs an empty subgraph with the given id, which must be an object supported by the present word.

Notes
The empty string, "", counts as a distinct id. To create an anonymous subgraph, use <anon>.

Examples
USING: graphviz prettyprint ; "subg" <subgraph> subgraph? .
t


USING: accessors graphviz prettyprint ; 3.14 <subgraph> id>> .
"3.14"


USING: accessors graphviz prettyprint sequences ; "foo" <subgraph> statements>> empty? .
t


See also
subgraph, <anon>, <cluster>

Definition