Node

@Serializable
data class Node(val children: List<Node>? = null, val id: String, val label: Message? = null, val location: Location? = null, val properties: PropertyBag? = null)

Represents a node in a graph.

Constructors

Link copied to clipboard
constructor(children: List<Node>? = null, id: String, label: Message? = null, location: Location? = null, 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.