From Mean-Field to Complex Topologies: Network Effects on the Algorithmic Bias Model