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 |
{
"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.
|
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 2023-12-20 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]