Refactor of nav conversion for easier code analysis
These changes are not fixing any bug. Two things were done:
- auto-formatter was run to get consistent indenting (makes life easier with long function body)
- some variables are renamed (because we learned that one TE maps to IM and H node pairs) I was hoping that via this mechanical trick I will be able to spot the issue (i.e. bi-directional link between IM and H nodes). No luck.
Edited by Tomasz Bold