Polishing complex graph.

Backend SHA:ae48277840ff42d67147a790a84d907794f9ba03