mkt.databases.conservation.KLIFSDisplayTree
- class mkt.databases.conservation.KLIFSDisplayTree(splits: list[KLIFSDisplaySplit], leaves: list[KLIFSDisplayLeaf], order: list[int])[source]
Bases:
objectRenderer-neutral display tree shared by the static figure and Bokeh app.
- Variables:
splits (list[KLIFSDisplaySplit]) – Internal multifurcating nodes;
splits[0]is the root.leaves (list[KLIFSDisplayLeaf]) – Leaf rows (collapsed clades / aggregated singletons).
order (list[int]) – Leaf indices (into
leaves) in in-order (top-to-bottom) display order.
- __init__(splits: list[KLIFSDisplaySplit], leaves: list[KLIFSDisplayLeaf], order: list[int]) None
Methods
__eq__(other)Return self==value.
__init__(splits, leaves, order)Attributes
__dataclass_fields____dataclass_params____match_args__- __init__(splits: list[KLIFSDisplaySplit], leaves: list[KLIFSDisplayLeaf], order: list[int]) None
- leaves: list[KLIFSDisplayLeaf]
- order: list[int]
- splits: list[KLIFSDisplaySplit]