DOT
Constants related to the dot format.
Attributes
| Attribute | Type | Description |
|---|---|---|
| HEAD | string = dedent("\n {IN}{type} {id} {{\n {INp}graph [{attrs}]\n") | Template string for the opening header of a DOT file, including the graph type, identifier, and global graph attributes. |
| ATTR | string = {name}={value} | Template string used to format an individual attribute key-value pair. |
| NODE | string = {INp}"{0}" [{attrs}] | Template string for defining a node and its associated attributes within the graph. |
| EDGE | string = {INp}"{0}" {dir} "{1}" [{attrs}] | Template string for defining a relationship between two nodes, incorporating the directional operator and edge attributes. |
| ATTRSEP | string = , | The character sequence used to separate multiple attributes within a bracketed attribute list. |
| DIRS | dict = {"graph": "--", "digraph": "- >"} | A mapping of graph types to their respective edge connection symbols, such as '--' for undirected and '- >' for directed graphs. |
| TAIL | string = {IN}} | Template string for the closing brace that terminates the DOT graph definition. |