stripNodeRuntimeProperties
since v1.3.0stripNodeRuntimeProperties(
node):Node
Strips runtime-computed properties from a node
(selected, measuredPorts, measuredBounds, computedZIndex, _internalId).
These properties are recomputed during initialization and stale values from persistence cause the measurement system to skip fresh DOM measurement.
This is the default node strip function used by initializeModel and initializeModelAdapter. When providing a custom strip function, wrap this one instead of reimplementing it so future runtime properties stay covered.