More or less finished skeleton of graph analysis code.