add nodes<- method
Merge branch 'nodes<-'