Constants for the fields of the /get/graph/entities request.
Option fields
options
Constants for options.
pub const CONCISE_EDGE_CONNECTIVITY: &str = “concise_edge_connectivity”;When true, edges are emitted in a compact connectivity form regardless of the graph’s identifier type: entities_int contains stride-4 records [edge_id, node1_index, node2_index, edge_label_index] where node1_index/node2_index are 0-based positions into the node array (obtained from a node-entity call on the same graph). When requesting nodes with this option, the response includes tombstoned (deleted) slots in order to keep position indices stable so edge indices resolve correctly; deleted slots carry id=0 for integer graphs or an empty identifier for string/WKT graphs. For paginated node calls, subtract offset from an edge endpoint index to locate it within the returned page.
pub const EDGE: &str = “edge”;Retrieve edge entities (default).
pub const ENTITY_TYPE: &str = “entity_type”;The type of entity to retrieve.
pub const FALSE: &str = “false”;Default: entities_weight is empty.
pub const INCLUDE_WEIGHTS: &str = “include_weights”;When true and options entity_type is ‘edge’, the response entities_weight array is populated with one float weight per emitted edge (aligned 1:1 with the edge records in entities_int or entities_string). Empty when the graph has no weights component or when requesting nodes.
pub const NODE: &str = “node”;Retrieve node entities.
pub const SERVER_ID: &str = “server_id”;Indicates which graph server to send the request to. Required when the graph is distributed across multiple servers.
pub const TRUE: &str = “true”;Populate entities_weight with per-edge weights (edge requests only).