Refer to .fromNode, not graph, in createRel.