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.

Design a Mobile Site
View Site in Mobile | Classic
Share by: