links and nodes are rendered in their own link and node layers of svg.