flat list of referenced nodes