Tree¶
- marimo.tree(items: list[Any] | tuple[Any] | dict[Any, Any], label: str | None = None) Html¶
- Render a nested structure of lists, tuples, or dicts as a tree. - Example. - mo.tree(["entry", "another entry", {"key": [0, 1, 2]}], label="A tree.") - Args. - items: nested structure of lists, tuples, or dicts
- label: optional text label for the tree
 - Returns. - Htmlobject