CellNetwork.has_edge

CellNetwork.has_edge(edge, directed=False)[source]

Verify that the cell network contains a directed edge (u, v).

Parameters:
edgetuple[int, int]

The identifier of the edge.

directedbool, optional

If True, the direction of the edge should be taken into account.

Returns:
bool

True if the edge exists. False otherwise.

See also

has_vertex(), has_face(), has_cell()