separated start node link and labels into separate functions
some clean up of stuff, removed code for strait limks
more sensible variable names
grouped svg elements