[mod] add explanation comment
[mod] add some docstrings
[mod] add a planning comment
[mod] change style for datastructure
[enh] new helper function to get the rendering order of the current node
[mod] handle indentation in the case of a None parent