A data-driven inelasticity framework enhanced by neural network based propagators – application to trusses | Synapse