CellNetwork.split_edge

CellNetwork.split_edge(u, v, t=0.5)

Split and edge by inserting a node along its length.

Parameters
  • u (str) – The key of the first node of the edge.

  • v (str) – The key of the second node of the edge.

  • t (float, optional) – The position of the inserted node on the edge.

Returns

hashable – The key of the inserted node.

Raises