Path 1: 11 calls (1.0)

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