Indeed, the closer a node is to a given nest, the more ants from that nest will have passed through and deposited odour components.
the odour of that node will reflect its nest neighbourhood and allow ants to find their way by computing the score between their odour (that of their mother nest) and the surrounding nodes and by choosing to go on the node yielding the highest score.