code: public void getGraphParameters(CategoryGraph catGraph) {
          double startTime = System.currentTimeMillis();
          logger.error(catGraph.getGraphInfo());
          double endTime = (System.currentTimeMillis() - startTime) / 1000.0;
          logger.error(endTime + "s");
      }
docs: Get various graph parameters like diameter, average out-degree etc of the categroy graph.
  @param catGraph The category graph.