get.adjlist() was renamed to as_adj_list() to create a more
consistent API.
Arguments
- graph
- The input graph. 
- mode
- 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’ is for both. This argument is ignored for undirected graphs.
- loops
- Character scalar, one of - "ignore"(to omit loops),- "twice"(to include loop edges twice) and- "once"(to include them once).- "twice"is not allowed for directed graphs and will be replaced with- "once".
- multiple
- Logical scalar, set to - FALSEto use only one representative of each set of parallel edges.
