Client Reference
graphai.graph
Graph Objects
get_state
Get the current graph state.
set_state
Set the graph state.
update_state
Update the graph state with new values.
reset_state
Reset the graph state to an empty dict.
add_edge
Adds an edge between two nodes that already exist in the graph.
Arguments:
source
- The source node or its name.destination
- The destination node or its name.