learn function

Discover the structure around a single node