Network.edge_direction

Network.edge_direction(u, v)[source]

Return the direction vector of an edge.

Parameters
  • u (hashable) – The key of the start node.

  • v (hashable) – The key of the end node.

Returns

list – The direction vector of the edge.