A representational framework for learning and encoding structurally enriched trajectories in complex agent environments