The author uses an analogy in the statement:
B. "The principal moved through the anxious crowd like a swan sailing effortlessly across a lake."
This comparison (analogy) illustrates the way Principal Rawthorne navigated the crowd by likening her movement to that of a swan, which is known for its graceful and smooth motion.