12 lines
349 B
TypeScript
12 lines
349 B
TypeScript
|
|
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;
|