Defined in File EdgeListWriter.hpp
public NetworKit::GraphWriter
(Class GraphWriter)
A writer for the edge list format. The output will contain one edge per line, in the format fromNodeSEPARATORtoNode, where separator can be specified by the user.
Public Functions
separator – [in] character used to separate nodes in an edge line
firstNode – [in] index of the first node in the file
bothDirections – [in] for undirected graphs: if every edge shall be written in both directions (default: false)