@@ -243,7 +243,7 @@ <h2 id="args">Args</h2>
243243 """
244244 Converts a binary tree into a string representation for visualization.
245245
246- Args:
246+ Args:Y
247247 node: The root node of the tree to visualize
248248 depth: The depth of the tree (-1 for auto-calculation)
249249 valueFillChar: Character for padding node values (e.g., "_5_")
@@ -262,23 +262,14 @@ <h2 id="args">Args</h2>
262262 return "\n".join("".join(mat[i]) for i in range(0, len(mat), 2))</ code > </ pre >
263263</ details >
264264< div class ="desc "> < p > Converts a binary tree into a string representation for visualization.</ p >
265- < h2 id ="args "> Args</ h2 >
266- < dl >
267- < dt > < strong > < code > node</ code > </ strong > </ dt >
268- < dd > The root node of the tree to visualize</ dd >
269- < dt > < strong > < code > depth</ code > </ strong > </ dt >
270- < dd > The depth of the tree (-1 for auto-calculation)</ dd >
271- < dt > < strong > < code > valueFillChar</ code > </ strong > </ dt >
272- < dd > Character for padding node values (e.g., "< em > 5</ em > ")</ dd >
273- < dt > < strong > < code > connectorFillChar</ code > </ strong > </ dt >
274- < dd > Character for filling horizontal gaps between node pairs</ dd >
275- < dt > < strong > < code > unitSize</ code > </ strong > </ dt >
276- < dd > Size for centering values</ dd >
277- < dt > < strong > < code > removeEmpty</ code > </ strong > </ dt >
278- < dd > Whether to remove empty leading columns</ dd >
279- < dt > < strong > < code > connectors</ code > </ strong > </ dt >
280- < dd > Two-character string for connectors (e.g., "/" or "||"), None to skip connector rows</ dd >
281- </ dl > </ div >
265+ < p > Args:Y
266+ node: The root node of the tree to visualize
267+ depth: The depth of the tree (-1 for auto-calculation)
268+ valueFillChar: Character for padding node values (e.g., "< em > 5</ em > ")
269+ connectorFillChar: Character for filling horizontal gaps between node pairs
270+ unitSize: Size for centering values
271+ removeEmpty: Whether to remove empty leading columns
272+ connectors: Two-character string for connectors (e.g., "/" or "||"), None to skip connector rows</ p > </ div >
282273</ dd >
283274</ dl >
284275</ section >
0 commit comments