refactor(nodes): rename computed to measured, add helpers

This commit is contained in:
moklick
2024-04-03 14:54:24 +02:00
parent f45f50671d
commit ea18e46a1a
32 changed files with 159 additions and 226 deletions
@@ -48,7 +48,7 @@ describe('<ReactFlow />: onNodesChange', () => {
id: '1',
item: {
...nodes[0],
computed: { positionAbsolute: nodes[0].position, width: 200, height: 100 },
measured: { width: 200, height: 100 },
style: { width: 200, height: 100 },
},
},