Skip to content

Commit 616c05c

Browse files
committed
docs: update docstring for new parameter
1 parent 574fe57 commit 616c05c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bigtree/tree/export.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def print_tree(
6868
"""Print tree to console, starting from `tree`.
6969
Accepts kwargs for print() function.
7070
71+
- Able to have alias for node name if alias attribute is present, else it falls back to node_name, using `alias`
7172
- Able to select which node to print from, resulting in a subtree, using `node_name_or_path`
7273
- Able to customize for maximum depth to print, using `max_depth`
7374
- Able to choose which attributes to show or show all attributes, using `attr_name_filter` and `all_attrs`
@@ -1592,6 +1593,7 @@ def tree_to_mermaid(
15921593
Args:
15931594
tree (Node): tree to be exported
15941595
title (str): title, defaults to None
1596+
theme (str): theme or colour scheme, defaults to None
15951597
rankdir (str): layout direction, defaults to 'TB' (top to bottom), can be 'BT' (bottom to top),
15961598
'LR' (left to right), 'RL' (right to left)
15971599
line_shape (str): line shape or curvature, defaults to 'basis'

0 commit comments

Comments
 (0)