Kaba struct Tree ed

...

Syntax ed

struct Tree
    var edges: Edge[]
    var nodes: string[]

    # constructors
    func mut __init__()
    func mut __init__(nodes: string[], edges: Edge[])

    # functions
    func default_matrices() -> mat4{}
    func is_root_node(n: string) -> bool
    func root_nodes() -> string[]

    # operators
    func mut __assign__(other: Tree)     # Tree = Tree

Functions ed

func default_matrices() -> mat4{}
...

func is_root_node(n: string) -> bool
...

func root_nodes() -> string[]
...

Elements ed

var edges: Edge[]
...

var nodes: string[]
...