Please someone send me the correct code in (apache-tinkerpop(Gremlin) for both(closeness centrality, betweenness centrality, PageRank, and EiegenValue ) metrics without any error during the execution step on the list file dataset that like ("edges.txt) file.
Note: This is a sample of the ("edges.txt") datasets that include only the source and destination vertex without any properties(only two columns) as shown below:
Source Destination
1 2
2 3
2 4
3 5
4 5
5 6