added visual maxflow