Graph is a resource that contains information about relations between nodes.
JSON representation |
---|
{ "root_node_id": string, "time_range": { object ( |
Fields | |
---|---|
root_node_id |
Required. The root node id of a graph. |
time_range |
Required. The time range of the graph. |
nodes[] |
Optional. A list of nodes in the graph. |
edges[] |
Optional. A list of edges connecting the root node to the explored nodes. |
Edge
An edge between two nodes.
JSON representation |
---|
{ "source_node_id": string, "target_node_id": string, "labels": [ string ] } |
Fields | |
---|---|
source_node_id |
Required. The node that the exploration starts from. |
target_node_id |
Required. The node that was reached by the exploration. |
labels[] |
Optional. A list of labels representing relationships between nodes. |