Send feedback
Graph
bookmark_border bookmark
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
{
"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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-22 UTC."],[],[]]