StaticedgeCreates a new dot edge.
Example: "n1 -> n2 [label="Hello"];"
The ID of the source node of the edge.
The ID of the target node of the edge.
Optionalattrs: Record<string, string>The list of attributes of the edge.
The created dot edge.
StaticedgeCreates a new dot attributes statement for edges.
Example: "edge [color=red];"
The list of attributes.
The created dot attributes statement.
StaticgraphCreates a new dot graph.
Example: "digraph myGraph { ... }"
Optionallabel: stringThe label of the graph.
Whether the graph is directed.
Whether the graph is strict. A strict graph may not have multiple edges between the same nodes: they are merged into a single edge.
The list of statements inside the graph.
The created dot graph.
StaticgraphCreates a new dot attributes statement for graphs.
Example: "graph [label="Hello"];"
The list of attributes.
The created dot attributes statement.
StaticnodeCreates a new dot node.
Example: "n1 [label="Hello"];"
The ID of the node.
Optionalattrs: Record<string, string>The list of attributes of the node.
The created dot node.
StaticnodeCreates a new dot attributes statement for nodes.
Example: "node [shape=point];"
The list of attributes.
The created dot attributes statement.
StaticnodeCreates a new node identification.
Examples: "n1", "n1:nw"
The ID of the node.
Optionalport: stringThe port of the node.
Optionalcompass_pt: CompassPortsThe compass point of the node.
The created node identification.
StaticsubgraphCreates a new dot subgraph.
Example: "subgraph cluster_0 { ... }"
Optionallabel: stringThe label of the subgraph.
The list of statements inside the subgraph.
The created dot subgraph.
A factory class for creating dot graphs, subgraphs, nodes, and edges.