Ask a question to get started
Enter to send•Shift+Enter new line
Adds an edge to the graph.
add_edge( self, viz: Any, source: str, target: str, label: str | None = None, conditional: bool = False ) -> None
viz
Any
The graphviz object.
source
str
The source node.
target
The target node.
label
str | None
None
The label for the edge.
conditional
bool
False
Whether the edge is conditional.