pub fn to_feature_query(&self, direction: DependencyDirection) -> FeatureQuery<'g> {
        let feature_ixs = SortedSet::new(
            self.core
                .included
                .ones()
                .map(NodeIndex::new)
                .collect::<Vec<_>>(),
        );
        self.graph.query_from_parts(feature_ixs, direction)
    }
Creates a new `FeatureQuery` from this set in the specified direction.

This is equivalent to constructing a query from all the feature IDs in this set.
guppy/src/graph/feature/resolve.rs