function [ AP, AL ] = graph_adj_list_twig ( )

%*****************************************************************************80
%
%% graph_adj_list_twig() sets up the adjacency list 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:
%
%    30 April 2026
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    integer AP(node_num+1), AL(edge_num): the adjacency list. 
%
  L = [ ...
    1, 2; ...
    2, 1; ...
    2, 3; ...
    3, 2 ];

  [ AP, AL ] = graph_arc_to_adj_list ( L );

  return
end
