Edge

data class Edge(val origin: NodeId? = null, val destination: NodeId? = null)

Represents an edge between two nodes.

Constructors

Link copied to clipboard
constructor(origin: NodeId? = null, destination: NodeId? = null)

Properties

Link copied to clipboard
val destination: NodeId? = null

The ID of the destination node (optional).

Link copied to clipboard
val origin: NodeId? = null

The ID of the origin node (optional).