A new measure of linkage between two sub-networks