Graph Stay organized with collections Save and categorize content based on your preferences.
Graph is a resource that contains information about relations between nodes.
| JSON representation |
|---|
{"rootNodeId":string,"timeRange":{object ( |
| Fields | |
|---|---|
rootNodeId |
Required. The root node id of a graph. |
timeRange |
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 |
|---|
{"sourceNodeId":string,"targetNodeId":string,"labels":[string]} |
| Fields | |
|---|---|
sourceNodeId |
Required. The node that the exploration starts from. |
targetNodeId |
Required. The node that was reached by the exploration. |
labels[] |
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.