Character scalar, it gives what kind of adjacent edges/vertices
to include in the lists. out is for outgoing edges/vertices,
in is for incoming edges/vertices, all i
Value
A list of numeric vectors.
Details
as_adj_list returns a list of numeric vectors, which include the ids
of neighbor vertices (according to the mode argument) of all
vertices.
as_adj_edge_list returns a list of numeric vectors, which include the
ids of adjacent edgs (according to the mode argument) of all
vertices.