This commit is contained in:
2024-08-16 15:08:06 +07:00
commit 502e4877fc
22 changed files with 4263 additions and 0 deletions

11
src/edges/index.ts Normal file
View File

@@ -0,0 +1,11 @@
import type { Edge, EdgeTypes } from '@xyflow/react';
export const initialEdges: Edge[] = [
{ id: 'a->c', source: 'a', target: 'c', animated: true },
{ id: 'b->d', source: 'b', target: 'd' },
{ id: 'c->d', source: 'c', target: 'd', animated: true },
];
export const edgeTypes = {
// Add your custom edge types here!
} satisfies EdgeTypes;