async fn invert_network_map<TYPES: NodeType>( network_map: &NetworkMapSanitized<TYPES>, ) -> Result<ViewMap<TYPES>>