FormDiagram.edge_force
-
FormDiagram.
edge_force
(edge, force=None)[source] Get or set the force in an edge.
- Parameters
edge (int or tuple) – The identifier of the edge. This can be the index in the edge list or a tuple of vertices.
force (float, optional) – If no value is given, the current force value will be returned. Otherwise the stored value is updated.
- Returns
float or None – The current force in the edge if no new value is given. Otherwise, nothing.