TreeOptions
🛈 DocStrings¶
Configuration options for tree visualization.
Controls the appearance and content of the generated tree structure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
show_types
|
bool
|
Include node type annotations |
True
|
show_line_numbers
|
bool
|
Display source line numbers |
False
|
show_decorators
|
bool
|
Include decorator information |
True
|
sort_alphabetically
|
bool
|
Sort nodes by name |
False
|
include_private
|
bool
|
Include private members (_name) |
True
|
include_dunder
|
bool
|
Include double underscore methods (name) |
False
|
max_depth
|
int | None
|
Maximum tree depth to display |
None
|
branch_style
|
str
|
Style of tree branches ("ascii" or "unicode") |
'ascii'
|