FormDiagram.edge_force
- FormDiagram.edge_force(edge, force=None)
Get or set the force in an edge.
- Parameters:
- edgeint or tuple
The identifier of the edge. This can be the index in the edge list or a tuple of vertices.
- forcefloat, optional
If no value is given, the current force value will be returned. Otherwise the stored value is updated.
- Returns:
- float
The current force in the edge.