A model of trait-based/neutral dynamics of trophic networks