Modeling the interaction of complex networks