Updated on 2022-09-14 GMT+08:00

Querying the Graph List

You can use a specific API provided by GES to query the graph list. The sample code is as follows:

  private static void listGraphs(GesClient client) throws GesSdkException {
        GraphList graphList = client.listGraphs();
        for (Graph graph : graphList.getGraphs())
        {
            System.out.println(graph);
        }
    }