Visual analogy is believed to be important in human problem solving. Yet, there are few computational models of visual analogy. In this paper, we present a preliminary computational model of visual analogy in problem solving. The model is instantiated in a computer program, called Galatea, which uses a language for representing and transferring visual information called Privlan. We describe how the computational model can account for a small slice of a cognitive-historical analysis of Maxwell’s reasoning about electromagnetism.