NodeData

@Serializable
data class NodeData(val nodeId: NodeId, val concept: String? = null, val parent: NodeId? = null, val role: String? = null, val properties: Map<String, String> = emptyMap(), val references: Map<String, String> = emptyMap(), val children: Map<String?, List<NodeId>> = emptyMap())

Constructors

Link copied to clipboard
constructor(nodeId: NodeId, concept: String? = null, parent: NodeId? = null, role: String? = null, properties: Map<String, String> = emptyMap(), references: Map<String, String> = emptyMap(), children: Map<String?, List<NodeId>> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
val concept: String? = null
Link copied to clipboard
Link copied to clipboard
val parent: NodeId? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: String? = null

Functions

Link copied to clipboard
Link copied to clipboard
fun NodeData.replaceContainment(newParent: NodeId?, newRole: String?): NodeData
Link copied to clipboard
Link copied to clipboard