Consensus problems and the effects of graph topology in collaborative control