public static void splitComponents() throws IOException {
    URL fullgraph = Main.class.getResource(FULL_GRAPH);
    if (fullgraph == null) {
      throw new RuntimeException("Full graph not created, run -c first");
    }

    Set<Graph> graphs = GraphSplitter.splitGraph(fullgraph);
    for (Graph graph : graphs) {
      if (graph.size() >= GraphUtils.CANDIDATE_CUTOFF) {
        graph.writeToFile("data" + SP + graph.getName() + ".txt");
      }
    }

    printSummary(graphs);
  }