This is mostly related to systems or data modeling, but what works best for me is drawing diagrams that have lines which connect all the related components. Whether it’s call stacks, data (or energy flows in the case of circuits), or data models. I usually use a pen and paper. You’ll probably make mistakes or run out of space on the first attempt but that forces me to redraw it a few times which helps with memorization.