Function converts data to nodes and links using the columns array.
Note: row variable maps the data index and is added to an Array in nodes and as an integer in links for highlighting
Data is appended to the nodes + links for easy highlighting and passing elsewhere if needed.
Clearly you could go further and hold the highlight on click and so on...