Help Center> Graph Engine Service> devg> Using the Service Plane SDK> Querying General Information About a Graph
Updated on 2022-09-14 GMT+08:00

Querying General Information About a Graph

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

  public static void getSummary(GraphClient graphClient) throws ApiException
{E
    Map result = graphClient.getGraphSummary();
    //Output the result in a specific format using the MapUtils tool class.
    System.out.print(MapUtils.map2json(result));
}