Tight-binding model in optical waveguides: Design principle and transferability for simulation of complex photonics networks