FormDiagram.edge_forcedensity
- FormDiagram.edge_forcedensity(edge, q=None)
Get or set the forcedensity 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.
- qfloat, optional
If no new value is given, the current forcedensity value will be returned. Otherwise the stored value is updated with the provided one.
- Returns:
- float
The value of the force density in the edge.