constrain d3-force to one predicate type