Network3gs.edge_direction

Network3gs.edge_direction(u, v)

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.