%% Edge List Graph Construction
% Create and plot a cube graph using a list of the end nodes of each edge.

s = [1 1 1 2 2 3 3 4 5 5 6 7];
t = [2 4 8 3 7 4 6 5 6 8 7 8];
G = graph(s,t)

%

plot(G)

% Copyright 2015 The MathWorks, Inc.