public static @NotNull <T> Graph<T> generate(@NotNull InboundSemiGraph<T> graph) {
    return new GraphGenerator<>(graph);
  }
public static @NotNull <T> Graph<T> generate(@NotNull InboundSemiGraph<T> graph)