The brain maps out ideas and memories like spaces
See article: https://www.quantamagazine.org/the-brain-maps-out-ideas-and-memories-like-spaces-20190114/
Could be why visualising your knowledge in a graph is very satisfying and gives another way of understanding your own thinking?