Node

@JsonClass(generateAdapter = true)
data class Node(@Json(name = "children") val children: List<Node>? = null, @Json(name = "id") val id: String, @Json(name = "label") val label: Message? = null, @Json(name = "location") val location: Location? = null, @Json(name = "properties") val properties: PropertyBag? = null)(source)

Represents a node in a graph.

Since

0.12.0

Constructors

Link copied to clipboard
constructor(@Json(name = "children") children: List<Node>? = null, @Json(name = "id") id: String, @Json(name = "label") label: Message? = null, @Json(name = "location") location: Location? = null, @Json(name = "properties") properties: PropertyBag? = null)

Properties

Link copied to clipboard
val children: List<Node>? = null

Array of child nodes.

Link copied to clipboard
val id: String

A string that uniquely identifies the node within its graph.

Link copied to clipboard
val label: Message? = null

A short description of the node.

Link copied to clipboard
val location: Location? = null

A code location associated with the node.

Link copied to clipboard
val properties: PropertyBag? = null

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