ForceDiagram.edge_direction
- ForceDiagram.edge_direction(u, v)[source]
Return the direction vector of an edge.
- Parameters
u (int) – The key of the start vertex.
v (int) – The key of the end vertex.
- Returns
list[float] – The direction vector of the edge.