add node dir attr_reader

I think this was accidentally omitted.