abstracting analysis algo for better seperation of two different behavior
abstracting Hidden
refactor centrality with an factory method