Function boxEdgeFrom