<strict-graph> ( -- graph )
Graphviz > Graphviz data structures

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


Vocabulary
graphviz

Inputs and outputs
grapha graph


Word description
Constructs an empty, strict, undirected graph.

Notes
Because it's rare for graph ids to be meaningful or useful, <strict-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,
<strict-digraph> "G" >>id


In strict graphs, there is at most one edge between any two nodes, so duplicates are ignored by Graphviz.

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


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


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


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


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

Definition