See the following example.
julia> using AbstractTrees
julia> function AbstractTrees.children(i::Integer)
if i <= 3
return i + 1, i + 2
end
return ()
end
julia> print_tree(1)
1
├─ 2
│ ├─ 3
│ │ ├─ 4
│ │ └─ 5
│ └─ 4
└─ 3
├─ 4
└─ 5
Does there exist any package or utility method to print a tree in its normal looking? That is, I want the form below