getNode preserves expanded state