Edge

open class Edge : PropertyOwner

Represents a directed edge in a graph.

Constructors

Link copied to clipboard
constructor()
No args constructor for use in serialization
constructor(id: String, sourceNodeId: String, targetNodeId: String)

Properties

Link copied to clipboard
@SerializedName(value = "id")
@Expose
open var id: String
A string that uniquely identifies the edge within its graph.
Link copied to clipboard
@SerializedName(value = "label")
@Expose
open var label: Message
Encapsulates a message intended to be read by the end user.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.
Link copied to clipboard
@SerializedName(value = "sourceNodeId")
@Expose
open var sourceNodeId: String
Identifies the source node (the node at which the edge starts).
Link copied to clipboard
@SerializedName(value = "targetNodeId")
@Expose
open var targetNodeId: String
Identifies the target node (the node at which the edge ends).

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
open fun withId(id: String): Edge
Link copied to clipboard
open fun withLabel(label: Message): Edge
Link copied to clipboard
open fun withProperties(properties: PropertyBag): Edge
Link copied to clipboard
open fun withSourceNodeId(sourceNodeId: String): Edge
Link copied to clipboard
open fun withTargetNodeId(targetNodeId: String): Edge