pub fn filter_unrelated_fragments( fragments: &[Fragment], core_ids: &FxHashSet<FragmentId>, graph: &Graph, ) -> Vec<Fragment>