Improvement of pipe network editing