node+link logic for force graph