Minimum-weight spanning arborescence of a directed graph rooted at root (Chu–Liu/Edmonds,
$O(V \cdot E)$): every other vertex gets exactly one incoming edge and is reachable from root.
Returns undefined if some vertex is unreachable. Throws GraphError on undirected input.
Minimum-weight spanning arborescence of a directed graph rooted at
root(Chu–Liu/Edmonds, $O(V \cdot E)$): every other vertex gets exactly one incoming edge and is reachable fromroot. Returnsundefinedif some vertex is unreachable. Throws GraphError on undirected input.