Support different edge behavior on vertical and horizontal axis.