We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2385d9 commit 60a1cf1Copy full SHA for 60a1cf1
model-api/src/commonMain/kotlin/org/modelix/model/data/ModelData.kt
@@ -61,7 +61,7 @@ data class ModelData(
61
t: IWriteTransaction,
62
nodeId: Long
63
) {
64
- val key = "originalId"
+ val key = NodeData.idPropertyKey
65
t.setProperty(nodeId, key, nodeData.properties[key] ?: nodeData.id)
66
}
67
@@ -81,7 +81,7 @@ data class NodeData(
81
val references: Map<String, String> = emptyMap()
82
83
companion object {
84
- const val idPropertyKey = "originalId"
+ const val idPropertyKey = "#mpsNodeId#"
85
86
87
0 commit comments