pathVixService: remove duplicate and legacy code
Sankey: clean-up, rearrange and comment code