function A = graph_adj_twig ( )

%*****************************************************************************80
%
%% graph_adj_twig() sets up the adjacency matrix for the twig graph.
%
%  Discussion:
%
%    The graph has 3 nodes and 2 arcs.
%
%    1---2---3
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    26 April 2026
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    integer A(3,3): the adjacency matrix.
%
  L = [ ...
    1, 2; ...
    2, 1; ...
    2, 3; ...
    3, 2 ];

  A = graph_arc_to_adj ( L );

  return
end
