Create Gerrit graph data structure.