//
// Utility functions for processing tree indentation with UTF-8 box drawing characters
//

#ifndef EAGLE0_TREE_INDENT_UTIL_HPP
#define EAGLE0_TREE_INDENT_UTIL_HPP

#include <string>

namespace mcts::util {

// Builds tree indentation string for a node at a given depth
// Returns string like "   ├─ " or "   └─ " with proper spacing
std::string BuildTreeIndent(int indentLevel, bool isLastChild);

// Converts tree branch characters (├ and └) to continuation lines (│) for sub-content
// This preserves the tree structure when displaying additional info below a node
std::string ConvertBranchToContinuation(const std::string& indent);

}  // namespace mcts::util

#endif  // EAGLE0_TREE_INDENT_UTIL_HPP
