Starting from a clean-ish slate and possibly going to implement the interface as a web app. networkx is used for the internal graph representation. visualization.html gives a visualization of the clash graph.