On the Computation of Centrality Metrics for Network Security in Mesh Networks