Separating getting the nodes and links from the nodeService and requesting them from teh backend.