Rooted tree (source code)

= Rooted tree
{wiki}

A rooted tree is a <tree> with a distinguished vertex called the root. Its levels consist of the vertices at a fixed <graph distance> from the root.