Group structures and communication networks in terms of mathematical theory of graphs