IO

Functions for reading / writing MTG files

read_mtg()

Read MTG

Plots

Functions for plotting the MTG

autoplot(<mtg>) autoplot(<Node>)

Plot an MTG

plotly_mtg()

Plot an interactive MTG

Computations: Mutate the MTG

Compute/extract data from the whole MTG or sub-trees

mutate_mtg()

Mutate MTG

Computations: helpers at node scale

main functions

ancestors()

Get ancestors values

descendants()

Get descendants values

Computations: wrappers for helpers at node scale

Simple wrappers around the ancestors() and descendants() functions

parent()

Get parent value

children()

Get children values

leaves()

Get leaves values

decompose()

Get decomposing nodes

Computations: topological order

topological_order()

Topological order