Currently, the network is assumed to be unweighted and, if the input file contains a directed network, an undirected one is returned anyway. The directions are removed in a way that i and j are connected if there is either link i->j or j->i (or both).
There is a typo here.
The paragraph can be fixed as follows: