99677 {
99678 for (
idx_t i = 0; i < width * height; i++) {
99679 if (!nodes[i]) {
99680 continue;
99681 }
99682 InsertionOrderPreservingMap<string> new_map;
99683 for (auto &entry : nodes[i]->extra_text) {
99684 auto key = entry.first;
99686 key = StringUtil::Replace(key, "__", "");
99687 key = StringUtil::Replace(key, "_", " ");
99689 }
99690 auto &value = entry.second;
99691 new_map.insert(make_pair(key, value));
99692 }
99693 nodes[i]->extra_text = std::move(new_map);
99694 }
99695}
static DUCKDB_API bool StartsWith(string str, string prefix)
Returns true if the target string starts with the given prefix.
Definition duckdb.cpp:109377
static DUCKDB_API string Title(const string &str)
Convert a string to Title Case.
Definition duckdb.cpp:109637
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237