docs: move examples dir out of components dir
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export const initialElements = [
|
||||
{ id: '1', label: 'Node 1', position: { x: 0, y: 0 } },
|
||||
{ id: '2', label: 'Node 2', position: { x: 400, y: 400 } },
|
||||
{ id: '3', label: 'Node 3', position: { x: 400, y: 0 } },
|
||||
{ id: '4', label: 'Node 4', position: { x: 0, y: 400 } },
|
||||
{ id: '5', style: { borderColor: 'red' }, label: 'Drag me over another node', position: { x: 200, y: 200 } },
|
||||
]
|
||||
Reference in New Issue
Block a user