kinbaku.Graph.edge¶
- Graph.edge(source, target, edge_type=0)[source]¶
Get edge from source, target and edge type
- Parameters
source (str) – key of the source node
target (str) – key of the target node
edge_type (int) – type of edge to match
- Raises
EdgeNotFound – the arguments do not match any edge in the graph
- Returns
edge
- Return type
edge_class