nodes and edges for entire network