CellNetwork.vertices

CellNetwork.vertices(data=False)[source]

Iterate over the vertices of the cell network.

Parameters:
databool, optional

If True, yield the vertex attributes in addition to the vertex identifiers.

Yields:
int | tuple[int, dict[str, Any]]

If data is False, the next vertex identifier. If data is True, the next vertex as a (vertex, attr) a tuple.

See also

edges(), faces(), cells()