Retrieves node or edge entities from an existing graph, with pagination support via offset and limit. Use Show Graphs to obtain the total number of nodes and edges.
Output Parameter Description
| Name | Type | Description |
|---|
| result | boolean | Indicates a successful retrieval. |
| entities_int | array of longs | Flat array of entity data for integer-identifier graphs with a repeating stride. For node entities (stride 2): [node_id, label_index, ...]. For edge entities (stride 4): [edge_id, node1_id, node2_id, label_index, ...]. Populated when the graph uses integer identifiers; empty otherwise. The label_index is a 1-based index into the output parameter labels array; 0 indicates no label. |
| entities_string | array of strings | Flat array of entity data for name-identifier or WKT-identifier (geo/XY) graphs with a repeating stride. For node entities (stride 2): [node_name, label_index, ...] or [wkt_point, label_index, ...]. For edge entities (stride 4): [edge_id, node1_name, node2_name, label_index, ...] or [edge_id, node1_wkt, node2_wkt, label_index, ...]. Populated when the graph uses string/name identifiers or geo/XY coordinate identifiers; empty otherwise. For geo/XY graphs, node identifiers are formatted as 'POINT(x y)' WKT strings. The label_index is a string representation of a 1-based index into the output parameter labels array; '0' indicates no label. |
| labels | array of strings | Array of distinct label strings. The label_index values in output parameter entities_int or output parameter entities_string are 1-based indexes into this array; index 0 means no label. |
| info | map of string to strings | Additional information map. Contains the following keys: 'identifier_type' — set to 'int' (integer node IDs in output parameter entities_int), 'string' (name-based node IDs in output parameter entities_string), or 'wkt' (geo/XY graph with 'POINT(x y)' node identifiers in output parameter entities_string). 'total_count' — total number of live (non-deleted) entities available in the graph for the requested entity_type, used for pagination. 'status_message' — set to 'Cancelled' if the request was cancelled mid-iteration (with output parameter result set to false). |