Computable categoricity of graphs with finite components