The room was as quiet as a graveyard.

Literal

Room [topic-は] graveyard [like-のように] quiet was.

Uses のように for a vivid simile — 墓場のように (like a graveyard). This comparative structure places a noun + のように before an adjective, modifying it adverbially. The same image exists in English, making this a cross-culturally transparent metaphor.