makeGraph documentation