@flowgram.ai/document 0.3.4 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -479,6 +479,11 @@ var _FlowNodeTransformData = class _FlowNodeTransformData extends EntityData2 {
479
479
  y: position.y
480
480
  };
481
481
  }
482
+ set position(position) {
483
+ this.transform.update({
484
+ position
485
+ });
486
+ }
482
487
  set size(size) {
483
488
  const { width, height } = this.data.size;
484
489
  if (this.isContainer) return;