%% Neighboring Graph Nodes
% Create and plot a graph, and then determine the neighbors of node 10.

G = graph(bucky);
plot(G)

%

N = neighbors(G,10)

% Copyright 2015 The MathWorks, Inc.