mkt.databases.conservation.KLIFSDisplayTree

class mkt.databases.conservation.KLIFSDisplayTree(splits: list[KLIFSDisplaySplit], leaves: list[KLIFSDisplayLeaf], order: list[int])[source]

Bases: object

Renderer-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__

splits

leaves

order

__init__(splits: list[KLIFSDisplaySplit], leaves: list[KLIFSDisplayLeaf], order: list[int]) None
leaves: list[KLIFSDisplayLeaf]
order: list[int]
splits: list[KLIFSDisplaySplit]