up ------ edges, transfunc ------ last, next