Initial push of new graph code.