The motivating example for this was a maze represented as a graph. We have vertices V and edges E as well as an additional attribute of the vertices, their location in 2D space. Then we can deform the maze as if it represents a physical system.
To play with run_pymaze.py
you will need to install my version of pymaze.
This is not yet useful in any way (except as an implementation of verlet for fun), there are some TODOs that I have to take care of.