Thorough mess made
Fixed issue with double links, i.e. links in both directions between two components. Also added functionality to draw start/end markers.