function A = graph_adj_octahedron ( )

%*****************************************************************************80
%
%% graph_adj_octahedron() sets up the adjacency matrix for the octahedron graph.
%
%  Discussion:
%
%      1---2
%     /|   |\
%    8-+---+-3
%    | |   | |
%    7-+---+-4
%     \|   |/
%      6---5
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    26 April 2026
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    integer A(8,8): : the adjacency matrix.  
%
  L = [ ...
    1, 2; ...
    1, 6; ...
    1, 8; ...
    2, 3; ...
    2, 5; ...
    3, 4; ...
    3, 8; ...
    4, 5; ...
    4, 7; ...
    5, 6; ...
    6, 7; ...
    7, 8 ];

  A = graph_arc_to_adj ( L );

  return
end
