Changed Function<T,T> to UnaryOperator<T> in GraphStrategy.