output NamedTuple from near_edges