up
This commit is contained in:
11
src/edges/index.ts
Normal file
11
src/edges/index.ts
Normal 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;
|
||||
Reference in New Issue
Block a user