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

Querying Vertex Details

You can use a specific API provided by GES to query vertex details. The sample code is as follows:

public static  void getVertices(GraphClient graphClient) throws ApiException
{
 VertexDetailReq req = new VertexDetailReq();
 req.setVertexIds("46");// Replace with the actual vertex ID.
 VertexDetailResult vertexDetailResult = graphClient.getVertices(req);
 System.out.print(vertexDetailResult);
}