graph
Graphviz » Graphviz data structures

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


Vocabulary
graphviz

Class description
Represents the top-level (or root) graph used in Graphviz. Its structure is modeled after the DOT language (see https://graphviz.org/Documentation.php):

Slot nameValueMeaning in DOT
ida stringthe reference name of a graph, as in graph id { ... }
strict?a booleanindicates strictness, as in strict graph { ... }
directed?a booleancorresponds to digraph { ... } vs. graph { ... }
statementsa sequencethe defining "body", as in graph { ... statements ... }


In particular, statements should be a sequence containing only instances of:
subgraph
node
edge
graph-attributes
node-attributes
edge-attributes


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

Definition


Methods