Tree¶
marimo.tree
¶
tree(
items: list[Any] | tuple[Any] | dict[Any, Any],
label: Optional[str] = None,
) -> Html
Render a nested structure of lists, tuples, or dicts as a tree.
PARAMETER | DESCRIPTION |
---|---|
items
|
nested structure of lists, tuples, or dicts
TYPE:
|
label
|
optional text label for the tree
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Html
|
TYPE:
|