fixed getpred getsucc - now they return node ids, not edge ids