function node_max = graph_arc_node_count ( nedge, inode, jnode )

%*****************************************************************************80
%
%% graph_arc_node_max() determines the maximum node label.
%
%  Discussion:
%
%    The graph is described using the arc list format.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    14 July 2013
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer NEDGE, the number of edges.
%
%    Input, integer INODE(NEDGE), JNODE(NEDGE).  INODE(I) and 
%    JNODE(I) are the start and end nodes of the I-th edge.
%
%    Output, integer NODE_MAX, the maximum node index.
%
  node_max = max ( max ( inode(1:nedge) ), max ( jnode(1:nedge) ) );

  return
end
