rename children as edges