[BGL] Different types as vertices of a graph