Bifurcation in Weighted Digraphs and Their Applications in Ecology