I have a matrix from which I construct a network graph with igraph. I want to store the information of different types of vertices as an attribute, which I can deduce from i