def METHOD_NAME(self, n):
    for _ in range(n):
        num_v = np.random.randint(self.min_num_v, self.max_num_v)
        # nx.star_graph(N) gives a star graph with N+1 nodes
        g = nx.star_graph(num_v - 1)
        self.graphs.append(g)
        self.labels.append(1)