Graph

Graph is a resource that contains information about relations between nodes.

JSON representation
{
  "root_node_id": string,
  "time_range": {
    object (Interval)
  },
  "nodes": [
    {
      object (Node)
    }
  ],
  "edges": [
    {
      object (Edge)
    }
  ]
}
Fields
root_node_id

string

Required. The root node id of a graph.

time_range

object (Interval)

Required. The time range of the graph.

nodes[]

object (Node)

Optional. A list of nodes in the graph.

edges[]

object (Edge)

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

string

Required. The node that the exploration starts from.

target_node_id

string

Required. The node that was reached by the exploration.

labels[]

string

Optional. A list of labels representing relationships between nodes.