Path 1: 4 calls (1.0)

1def _close_graph(self) -> None:
2        """Emit the lines needed to properly close the graph."""
3        self._dec_indent()
4        self.emit("}")