Start merging graph code.