New to coding and I\'m trying to create a function activated by an HTML button that finds the 1st degree neighbors of a node in a random graph (using d3js) on the first ite