Add fromEdges function