<graph> ( -- graph )
Graphviz ยป Graphviz data structures

Prev:graph
Next:<digraph> ( -- graph )


Vocabulary
graphviz

Inputs
None

Outputs
grapha graph


Word description
Constructs an empty, non-strict, undirected graph.

Notes
Because it's rare for graph ids to be meaningful or useful, <graph> automatically generates one, just as in <anon>.

If you want, you can still give the resulting graph a specific id using standard words like >>id. For example,
<graph> "G" >>id


Examples
USING: graphviz prettyprint ; <graph> graph? .
t


USING: accessors graphviz prettyprint sequences ; <graph> statements>> empty? .
t


USING: accessors graphviz prettyprint ; <graph> strict?>> .
f


USING: accessors graphviz prettyprint ; <graph> directed?>> .
f


See also
graph, <digraph>, <strict-graph>, <strict-digraph>

Definition