Interactive synthesis of pipeline networks using pigraph