Fractals in dimension theory and complex networks