subgraph - Factor Documentation (original) (raw)
Class description
Represents a logical grouping of nodes and edges within a Graphviz graph. See https://graphviz.org/Documentation.php for more information.
Its structure is largely similar to graph, except subgraph only has two slots: id (a string) and statements (a sequence). The strict? and directed? slots of the parent graph are implicitly inherited by a subgraph.
id and statements correspond to the name and defining "body" of a subgraph in the DOT language, as in subgraph id { ... statements ... }.