| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { WorkflowJSON } from '@flowgram.ai/free-layout-editor';
- export const initialData: WorkflowJSON = {
- nodes: [
- {
- id: 'start_0',
- type: 'start',
- meta: {
- position: { x: 0, y: 0 },
- },
- data: {
- title: 'Start',
- content: 'Start content',
- },
- },
- {
- id: 'node_0',
- type: 'custom',
- meta: {
- position: { x: 400, y: 0 },
- },
- data: {
- title: 'Custom',
- content: 'Custom node content',
- },
- },
- {
- id: 'end_0',
- type: 'end',
- meta: {
- position: { x: 800, y: 0 },
- },
- data: {
- title: 'End',
- content: 'End content',
- },
- },
- ],
- edges: [
- {
- sourceNodeID: 'start_0',
- targetNodeID: 'node_0',
- },
- {
- sourceNodeID: 'node_0',
- targetNodeID: 'end_0',
- },
- ],
- };
|