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)(source)

Represents a directed edge in a graph.

Since

0.12.0

Constructors

Link copied to clipboard
constructor(@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

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

Link copied to clipboard

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