def add_star(self, nodes, **attr):
        nlist = list(nodes)
        v=nlist[0]
        edges=((v,n) for n in nlist[1:])
        self.add_edges_from(edges, **attr)
Ask arrayfire to not perform garbage collection on raw data held by an array.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.add_star--crossover with--dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/lock_array