The Dot.Node class
- class Dot.Node
This nested class represents a node in the represented graph.
- add_attr(self: Dot.Node, key: str, val: str) Dot.Node
Add an attribute to an node.
This function adds a new attribute, or replaces the value of an existing attribute of a
Dot.Node
.
- property attrs
Read-only dictionary containing the attributes of the node.
- property name
The name of the node.