Exploring the connections within a network by making electrical resistance as an analogy