network edges are now tuples instead of lists, making them immutable