On this page

Show all

Removing a Graph

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

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

public static void clearGraph(GraphClient graphClient) throws ApiException {
     ClearGraphReq clearGraphReq = new ClearGraphReq();
     clearGraphReq.setGraphName(graphInfo.getGraphName());
     graphClient.clearGraph(clearGraphReq);
}
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback