neighbors

neighbors(G, n)[source]

Returns a list of nodes connected to node n.