This would require adding a new attribute to the edges dictionaries, namely {"state": -1} where possible states are only -1 if the edge is meant to be in compression and +1 if it should be in tension.
Adjustments in force.py and force_numpy.py should follow.
Instead of this:
Do this:
This would require adding a new attribute to the edges dictionaries, namely
{"state": -1}
where possible states are only-1
if the edge is meant to be in compression and+1
if it should be in tension. Adjustments inforce.py
andforce_numpy.py
should follow.