Added graph template reduce vertex