Edge

@JsonClass(generateAdapter = true)
data class Edge(    @Json(name = "id") val id: String,     @Json(name = "label") val label: Message? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "sourceNodeId") val sourceNodeID: String,     @Json(name = "targetNodeId") val targetNodeID: String)

Represents a directed edge in a graph.

Constructors

Link copied to clipboard
fun Edge(    @Json(name = "id") id: String,     @Json(name = "label") label: Message? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "sourceNodeId") sourceNodeID: String,     @Json(name = "targetNodeId") targetNodeID: String)

Properties

Link copied to clipboard
val id: String

A string that uniquely identifies the edge within its graph.

Link copied to clipboard
val label: Message? = null

A short description of the edge.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the edge.

Link copied to clipboard
val sourceNodeID: String

Identifies the source node (the node at which the edge starts).

Link copied to clipboard
val targetNodeID: String

Identifies the target node (the node at which the edge ends).

Sources

Link copied to clipboard