CellNetwork.add_edge
- CellNetwork.add_edge(u, v, attr_dict=None, **kwattr)
Add an edge and specify its attributes.
- Parameters
u (hashable) – The identifier of the first node of the edge.
v (hashable) – The identifier of the second node of the edge.
attr_dict (dict, optional) – A dictionary of edge attributes.
kwattr – Other edge attributes as additional keyword arguments.
- Returns
tuple – The identifiers of the edge nodes.
Examples
>>>