class_docstr: A renderable for a tree structure.
  
  Args:
      label (RenderableType): The renderable or str for the tree label.
      style (StyleType, optional): Style of this tree. Defaults to "tree".
      guide_style (StyleType, optional): Style of the guide lines. Defaults to "tree.line".
      expanded (bool, optional): Also display children. Defaults to True.
      highlight (bool, optional): Highlight renderable (if str). Defaults to False.
class_docstr_tok: ["A","renderable","for","a","tree","structure",".","Args",":","label","(","RenderableType",")",":","The","renderable","or","str","for","the","tree","label",".","style","(","StyleType",",","optional",")",":","Style","of","this","tree",".","Defaults","to","``","tree","''",".","guide_style","(","StyleType",",","optional",")",":","Style","of","the","guide","lines",".","Defaults","to","``","tree.line","''",".","expanded","(","bool",",","optional",")",":","Also","display","children",".","Defaults","to","True",".","highlight","(","bool",",","optional",")",":","Highlight","renderable","(","if","str",")",".","Defaults","to","False","."]
code: def __init__(
      self,
      label: RenderableType,
      *,
      style: StyleType = "tree",
      guide_style: StyleType = "tree.line",
      expanded: bool = True,
      highlight: bool = False,
      hide_root: bool = False,
  ) -> None:
      self.label = label
      self.style = style
      self.guide_style = guide_style
      self.children: List[Tree] = []
      self.expanded = expanded
      self.highlight = highlight
      self.hide_root = hide_root
  
file_path: rich/rich/tree.py
imports: from typing import Iterator, List, Optional, Tuple
  from ._loop import loop_first, loop_last
  from .console import Console, ConsoleOptions, RenderableType, RenderResult
  from .jupyter import JupyterMixin
  from .measure import Measurement
  from .segment import Segment
  from .style import Style, StyleStack, StyleType
  from .styled import Styled
label_desc: Use image node_id 1 to create a new Tree object from inherited base classes: JupyterMixin with example: obj = Tree(label)