Python 2.7/Sage code for running graph dynamics experiments. This code provides functionality to update the vertex colors of a given graph under various update rules.
Sage graph objects are used throughout. For more about Sage Graph objects, see the Sage graph theory documentation.
See the Sage worksheet file (.sws) for usage examples. I also printed the worksheet as a PDF, which you can view in your browser here.