Graph

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

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

string

Required. The root node id of a graph.

timeRange

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
{"sourceNodeId":string,"targetNodeId":string,"labels":[string]}
Fields
sourceNodeId

string

Required. The node that the exploration starts from.

targetNodeId

string

Required. The node that was reached by the exploration.

labels[]

string

Optional. A list of labels representing relationships between nodes.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-25 UTC.