onAgentLeft

open override fun onAgentLeft(agent: A)(source)

Called by the AgentModel.Context when agent leaves. Default no-op — projections that track per-agent state (positions, edges) typically override to drop their bookkeeping for the departing agent.