chore(astro): use width/height attrs

This commit is contained in:
moklick
2023-11-21 15:18:35 +01:00
parent d812dbbe53
commit 24c999a335
4 changed files with 15 additions and 25 deletions
@@ -27,7 +27,7 @@ const initialNodes: Node[] = [
type: 'input',
data: { label: 'Node 1' },
position: { x: 250, y: 5 },
size: nodeSize,
...nodeSize,
handles: [
{
type: 'source',
@@ -41,7 +41,7 @@ const initialNodes: Node[] = [
id: '2',
data: { label: 'Node 2' },
position: { x: 100, y: 100 },
size: nodeSize,
...nodeSize,
handles: [
{
type: 'source',
@@ -65,7 +65,7 @@ const initialNodes: Node[] = [
id: '3',
data: { label: 'Node 3' },
position: { x: 400, y: 100 },
size: nodeSize,
...nodeSize,
handles: [
{
type: 'source',