aryagraph.io.edgelist.write_adjacency_list#
- aryagraph.io.edgelist.write_adjacency_list(g: Graph, path: str | PathLike, *, delimiter: str = ' ', encoding: str = 'utf-8') None[source]#
Write g as an adjacency list (networkx’s
adjlistlayout, with quoting).Every node gets a line listing its successors, so isolated nodes survive; an undirected edge is listed once, on the line of whichever endpoint comes first in graph order. Attributes are not stored.