fixed network edge positions with new offset function