apply vote to graph