Spec for arrayToGraphEdge