I am using sample_traits_callaway() to create a graph with several types of vertices. After the graph is created, I want to use the vertex types to perform operations on the graph. However, I have not been able to access the type attribute. I have tried:
vertex_graph( g ) ... which produces
list()
V(g)$type ... which produces
NULL
Is the type stored anywhere that I am not thinking of?
Thank you!