pub fn to_peer_id(node_index: NodeIndex) -> PeerId