1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399 |
- export const data0 = {
- envVars: [
- {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- value: '32113123213',
- },
- {
- id: 'a15aa50f-814e-4d8e-8317-2f4f5b65abb6',
- type: 'Number',
- source: 'env',
- label: 'ewqe',
- key: 'e123',
- value: 12312312,
- },
- {
- id: '7af14f11-0e44-4ed7-aabc-00e0d11b640b',
- type: 'String',
- source: 'env',
- label: '124214',
- key: '425',
- value: 'cascasca',
- },
- {
- id: '3501737e-c792-4d77-a821-eb70f2287c3e',
- type: 'Number',
- source: 'env',
- label: '1251',
- key: 'rsd',
- value: 1231,
- },
- ],
- graph: {
- nodes: [
- {
- id: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- x: -470,
- y: -40,
- data: {
- id: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- title: '开始',
- desc: '',
- __outVars: [
- {
- label: '输入参数1',
- key: 'ppp1',
- type: 'String',
- length: '20',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- label:
- 'w213123sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss',
- key: '3434',
- type: 'Number',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- label: '4',
- key: '4',
- type: 'String',
- length: '24',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- label: '2414',
- key: 'r3423',
- type: 'Number',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- ],
- type: 'root',
- __sysVars: [
- {
- label: '查询内容',
- key: 'sys.query',
- type: 'String',
- source: 'root',
- },
- {
- label: '用户ID',
- key: 'sys.user_id',
- type: 'String',
- source: 'root',
- },
- ],
- },
- },
- {
- id: 'c3187871-987e-46fc-98e1-40946577a8f3',
- x: -860,
- y: 510,
- data: {
- id: 'c3187871-987e-46fc-98e1-40946577a8f3',
- title: '条件分支',
- desc: '各种判断',
- ports: [
- {
- id: '17f331e3-adcd-42f6-b4b8-25806d7d8bad',
- mode: 'and',
- cases: [
- {
- id: '5cc80ce1-eab9-4549-8aef-c3ebf3f6883a',
- source: {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- },
- method: 'includes',
- type: 'constant',
- target: 'asdasd',
- },
- {
- id: 'c93d4514-cede-4361-a6c7-dcc1a2f34fdb',
- source: {
- label: '输入参数1',
- key: 'ppp1',
- type: 'String',
- length: '20',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'end with',
- type: 'constant',
- target: 'casc',
- },
- {
- id: '0064d690-3e39-4d68-a60d-dd53244ce41a',
- source: {
- label: '查询内容',
- key: 'sys.query',
- type: 'String',
- source: 'root',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'not equals',
- type: 'constant',
- target: 'asfasf',
- },
- {
- id: 'fbdc23c5-4564-4d8a-9572-03e7059fe856',
- source: {
- label: '输入参数1',
- key: 'ppp1',
- type: 'String',
- length: '20',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'includes',
- type: 'variable',
- target: {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- },
- },
- ],
- },
- {
- id: '49d72236-24e6-488a-8f3e-d430b687129d',
- mode: 'and',
- cases: [],
- },
- {
- id: '11f7d4bc-1bfd-4593-b300-28694b920d58',
- mode: 'and',
- cases: [
- {
- id: 'ac081f15-7237-448c-8565-32912ad0d488',
- source: {
- label: '查询内容',
- key: 'sys.query',
- type: 'String',
- source: 'root',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'empty',
- type: 'constant',
- target: '',
- },
- {
- id: '387345db-2147-46be-b728-5e768130e458',
- source: {
- label: '2414',
- key: 'r3423',
- type: 'Number',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'empty',
- type: 'constant',
- target: '',
- },
- {
- id: '53a9ad75-8737-4323-887c-937e477249ef',
- source: {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- },
- method: 'not empty',
- type: 'constant',
- target: '',
- },
- ],
- },
- {
- id: 'b712fcdc-247c-4705-a22e-205728109f61',
- mode: 'and',
- cases: [
- {
- id: '95444d9d-7087-482c-9d36-16c7c54e8c78',
- source: {
- id: 'a15aa50f-814e-4d8e-8317-2f4f5b65abb6',
- type: 'Number',
- source: 'env',
- label: 'ewqe',
- key: 'e123',
- },
- method: '=',
- type: 'constant',
- target: 233,
- },
- {
- id: 'a2e604b4-8b4f-4d8f-a50f-445266ffa6b9',
- source: {
- label: '用户ID',
- key: 'sys.user_id',
- type: 'String',
- source: 'root',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'includes',
- type: 'variable',
- target: {
- id: '7af14f11-0e44-4ed7-aabc-00e0d11b640b',
- type: 'String',
- source: 'env',
- label: '124214',
- key: '425',
- },
- },
- ],
- },
- {
- id: '99d376e3-2033-4165-afdf-1f0ec3307a8b',
- mode: 'and',
- cases: [],
- },
- {
- id: 'f14f5500-4dd3-4b2e-a5bf-d5fc4d2202e0',
- mode: 'and',
- cases: [
- {
- id: '44599635-506c-484a-9112-a53e95289170',
- source: {
- id: 'a15aa50f-814e-4d8e-8317-2f4f5b65abb6',
- type: 'Number',
- source: 'env',
- label: 'ewqe',
- key: 'e123',
- },
- method: '=',
- type: 'constant',
- target: '',
- },
- ],
- },
- {
- id: 'a31bf48b-2f82-4a0a-af41-24076fc170a0',
- isElse: true,
- },
- ],
- type: 'if-else',
- },
- },
- {
- id: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- x: -134,
- y: 60,
- data: {
- id: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '01ce0ef3-13dd-41b4-9995-d40ee232801e',
- x: -134,
- y: 210,
- data: {
- id: '01ce0ef3-13dd-41b4-9995-d40ee232801e',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- x: -134,
- y: 360,
- data: {
- id: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- title: '测试节点',
- desc: '副标题',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- nodeId: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- nodeId: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '7cd1a345-d326-4bde-bb9d-81eb8d884777',
- x: -104,
- y: 490,
- data: {
- id: '7cd1a345-d326-4bde-bb9d-81eb8d884777',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '123',
- x: -304,
- y: 490,
- data: {
- id: '123',
- title: '测试节点123',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '06cf0d93-262e-488d-803b-c4e45cc50b2c',
- x: -74,
- y: 650,
- data: {
- id: '06cf0d93-262e-488d-803b-c4e45cc50b2c',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '1402df48-f7af-4669-a105-9d649eab31e5',
- x: -134,
- y: 810,
- data: {
- id: '1402df48-f7af-4669-a105-9d649eab31e5',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '4c6c1fc8-61a9-440b-aae5-72d0520639cf',
- x: 230,
- y: -30,
- data: {
- id: '4c6c1fc8-61a9-440b-aae5-72d0520639cf',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '75619758-a5f1-4894-bb17-f2ffb9c7a4d8',
- x: 392,
- y: 60,
- data: {
- id: '75619758-a5f1-4894-bb17-f2ffb9c7a4d8',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '2003fab1-4747-4424-ac30-a261971131f5',
- x: 466,
- y: 160,
- data: {
- id: '2003fab1-4747-4424-ac30-a261971131f5',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'f88b00f3-22e2-4712-b979-b03554ff1173',
- x: 410,
- y: 440,
- data: {
- id: 'f88b00f3-22e2-4712-b979-b03554ff1173',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '8746b00b-c1b3-41e0-9b1c-4c57f9e19b5b',
- x: 422,
- y: 610,
- data: {
- id: '8746b00b-c1b3-41e0-9b1c-4c57f9e19b5b',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '3ae80188-4daf-4914-8b38-27786abe9031',
- x: 438,
- y: 250,
- data: {
- id: '3ae80188-4daf-4914-8b38-27786abe9031',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- nodeId: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- nodeId: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'cf5e5e34-7bef-4dc8-a9bd-842d2f3bab70',
- x: 450,
- y: 320,
- data: {
- id: 'cf5e5e34-7bef-4dc8-a9bd-842d2f3bab70',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '8662c97f-615c-4a31-8de2-173dcfbce7e2',
- x: 92,
- y: -200,
- data: {
- id: '8662c97f-615c-4a31-8de2-173dcfbce7e2',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'ee9a4b52-3a9c-4127-84f2-ac5dadfd4876',
- x: 392,
- y: 770,
- data: {
- id: 'ee9a4b52-3a9c-4127-84f2-ac5dadfd4876',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'a84c8867-50a5-4494-b138-02e00e4ef50c',
- x: 674,
- y: 930,
- data: {
- id: 'a84c8867-50a5-4494-b138-02e00e4ef50c',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'ef197c14-1661-465a-a8c6-b9e184a9d2f6',
- x: 230,
- y: 970,
- data: {
- id: 'ef197c14-1661-465a-a8c6-b9e184a9d2f6',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '7b96e828-053c-4515-985d-639bc692f1ba',
- x: 628,
- y: -200,
- data: {
- id: '7b96e828-053c-4515-985d-639bc692f1ba',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '260d696e-c8ef-4bd1-be21-b7e6d1c280e2',
- x: 720,
- y: -70,
- data: {
- id: '260d696e-c8ef-4bd1-be21-b7e6d1c280e2',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '3d5addb1-ce96-4095-b7c9-e460ba7b21f1',
- x: 880,
- y: 80,
- data: {
- id: '3d5addb1-ce96-4095-b7c9-e460ba7b21f1',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: '85a8702c-1dd8-4c85-938f-73d4337c2ce0',
- x: 830,
- y: 230,
- data: {
- id: '85a8702c-1dd8-4c85-938f-73d4337c2ce0',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'cb662c40-1794-4d17-9fa7-7313f60c1a0e',
- x: 944,
- y: 360,
- data: {
- id: 'cb662c40-1794-4d17-9fa7-7313f60c1a0e',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- {
- id: 'c4d990fa-533d-46ab-8474-f97098baa639',
- x: 956,
- y: 490,
- data: {
- id: 'c4d990fa-533d-46ab-8474-f97098baa639',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: 'dc2b0be1-e861-4e16-8d7e-eba5a713235c',
- x: 920,
- y: 620,
- data: {
- id: 'dc2b0be1-e861-4e16-8d7e-eba5a713235c',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: '1e59d45d-2650-40a7-af0e-b56547427376',
- x: 830,
- y: 792,
- data: {
- id: '1e59d45d-2650-40a7-af0e-b56547427376',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: 'ab97d57a-5895-45ad-a931-5a115c793b00',
- x: 500,
- y: -380,
- data: {
- id: 'ab97d57a-5895-45ad-a931-5a115c793b00',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: '18202e3a-43f7-47bd-9c4d-4bcc8b974aed',
- x: -434,
- y: 429,
- data: {
- id: '18202e3a-43f7-47bd-9c4d-4bcc8b974aed',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: '0df2bc7c-7616-42d3-ad92-e72dfede22ce',
- x: -434,
- y: 529,
- data: {
- id: '0df2bc7c-7616-42d3-ad92-e72dfede22ce',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: '0c2f8b8d-1a62-43a5-9142-2b39615c02f6',
- x: -414,
- y: 620,
- data: {
- id: '0c2f8b8d-1a62-43a5-9142-2b39615c02f6',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: '93e44df4-dc00-47f2-90aa-3c4848975a09',
- x: -444,
- y: 720,
- data: {
- id: '93e44df4-dc00-47f2-90aa-3c4848975a09',
- title: '直接回复',
- desc: '',
- type: 'answer',
- },
- },
- {
- id: '6bc7f1a1-efdd-4958-84c7-b31a60ee6796',
- x: -470,
- y: 920,
- data: {
- id: '6bc7f1a1-efdd-4958-84c7-b31a60ee6796',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- ],
- edges: [
- {
- target: 'c3187871-987e-46fc-98e1-40946577a8f3',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '01ce0ef3-13dd-41b4-9995-d40ee232801e',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '7cd1a345-d326-4bde-bb9d-81eb8d884777',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '123',
- source: '7cd1a345-d326-4bde-bb9d-81eb8d884777',
- },
- {
- target: '06cf0d93-262e-488d-803b-c4e45cc50b2c',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '1402df48-f7af-4669-a105-9d649eab31e5',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '4c6c1fc8-61a9-440b-aae5-72d0520639cf',
- source: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- },
- {
- target: '75619758-a5f1-4894-bb17-f2ffb9c7a4d8',
- source: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- },
- {
- target: '2003fab1-4747-4424-ac30-a261971131f5',
- source: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- },
- {
- target: 'f88b00f3-22e2-4712-b979-b03554ff1173',
- source: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- },
- {
- target: '8746b00b-c1b3-41e0-9b1c-4c57f9e19b5b',
- source: '0948a3c4-76f6-4282-9a3a-e83fd7a3c957',
- },
- {
- target: '3ae80188-4daf-4914-8b38-27786abe9031',
- source: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- target: 'cf5e5e34-7bef-4dc8-a9bd-842d2f3bab70',
- source: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- target: '8662c97f-615c-4a31-8de2-173dcfbce7e2',
- source: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- target: 'ee9a4b52-3a9c-4127-84f2-ac5dadfd4876',
- source: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- target: 'a84c8867-50a5-4494-b138-02e00e4ef50c',
- source: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- target: 'ef197c14-1661-465a-a8c6-b9e184a9d2f6',
- source: '05f487b0-30e9-4c4a-92d1-bd24076bac04',
- },
- {
- target: '7b96e828-053c-4515-985d-639bc692f1ba',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: '260d696e-c8ef-4bd1-be21-b7e6d1c280e2',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: '3d5addb1-ce96-4095-b7c9-e460ba7b21f1',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: '85a8702c-1dd8-4c85-938f-73d4337c2ce0',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: 'cb662c40-1794-4d17-9fa7-7313f60c1a0e',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: 'c4d990fa-533d-46ab-8474-f97098baa639',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: 'dc2b0be1-e861-4e16-8d7e-eba5a713235c',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: '1e59d45d-2650-40a7-af0e-b56547427376',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: 'ab97d57a-5895-45ad-a931-5a115c793b00',
- source: '3ae80188-4daf-4914-8b38-27786abe9031',
- },
- {
- target: '18202e3a-43f7-47bd-9c4d-4bcc8b974aed',
- source: 'c3187871-987e-46fc-98e1-40946577a8f3',
- port: '17f331e3-adcd-42f6-b4b8-25806d7d8bad',
- },
- {
- target: '0df2bc7c-7616-42d3-ad92-e72dfede22ce',
- source: 'c3187871-987e-46fc-98e1-40946577a8f3',
- port: '17f331e3-adcd-42f6-b4b8-25806d7d8bad',
- },
- {
- target: '0c2f8b8d-1a62-43a5-9142-2b39615c02f6',
- source: 'c3187871-987e-46fc-98e1-40946577a8f3',
- port: '11f7d4bc-1bfd-4593-b300-28694b920d58',
- },
- {
- target: '93e44df4-dc00-47f2-90aa-3c4848975a09',
- source: 'c3187871-987e-46fc-98e1-40946577a8f3',
- port: '11f7d4bc-1bfd-4593-b300-28694b920d58',
- },
- {
- target: '6bc7f1a1-efdd-4958-84c7-b31a60ee6796',
- source: 'c3187871-987e-46fc-98e1-40946577a8f3',
- port: 'a31bf48b-2f82-4a0a-af41-24076fc170a0',
- },
- ],
- viewport: {
- zoom: 0.7499999999999999,
- x: 866.9041335153236,
- y: 114.47241709701427,
- },
- },
- }
- export const data1 = {
- envVars: [
- {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- value: '32113123213',
- },
- {
- id: 'a15aa50f-814e-4d8e-8317-2f4f5b65abb6',
- type: 'Number',
- source: 'env',
- label: 'ewqe',
- key: 'e123',
- value: 12312312,
- },
- {
- id: '7af14f11-0e44-4ed7-aabc-00e0d11b640b',
- type: 'String',
- source: 'env',
- label: '124214',
- key: '425',
- value: 'cascasca',
- },
- {
- id: '3501737e-c792-4d77-a821-eb70f2287c3e',
- type: 'Number',
- source: 'env',
- label: '1251',
- key: 'rsd',
- value: 1231,
- },
- ],
- graph: {
- nodes: [
- {
- id: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- x: 118,
- y: 292.75,
- data: {
- id: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- title: '开始',
- desc: '',
- __outVars: [
- {
- label: '输入参数1',
- key: 'ppp1',
- type: 'String',
- length: '20',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- label:
- 'w213123sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss',
- key: '3434',
- type: 'Number',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- label: '4',
- key: '4',
- type: 'String',
- length: '24',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- label: '2414',
- key: 'r3423',
- type: 'Number',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- ],
- type: 'root',
- __sysVars: [
- {
- label: '查询内容',
- key: 'sys.query',
- type: 'String',
- source: 'root',
- },
- {
- label: '用户ID',
- key: 'sys.user_id',
- type: 'String',
- source: 'root',
- },
- ],
- },
- },
- {
- id: 'c3187871-987e-46fc-98e1-40946577a8f3',
- x: 454,
- y: 181.5,
- data: {
- id: 'c3187871-987e-46fc-98e1-40946577a8f3',
- title: '条件分支',
- desc: '各种判断',
- ports: [
- {
- id: '17f331e3-adcd-42f6-b4b8-25806d7d8bad',
- mode: 'and',
- cases: [
- {
- id: '5cc80ce1-eab9-4549-8aef-c3ebf3f6883a',
- source: {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- },
- method: 'includes',
- type: 'constant',
- target: 'asdasd',
- },
- {
- id: 'c93d4514-cede-4361-a6c7-dcc1a2f34fdb',
- source: {
- label: '输入参数1',
- key: 'ppp1',
- type: 'String',
- length: '20',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'end with',
- type: 'constant',
- target: 'casc',
- },
- {
- id: '0064d690-3e39-4d68-a60d-dd53244ce41a',
- source: {
- label: '查询内容',
- key: 'sys.query',
- type: 'String',
- source: 'root',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'not equals',
- type: 'constant',
- target: 'asfasf',
- },
- {
- id: 'fbdc23c5-4564-4d8a-9572-03e7059fe856',
- source: {
- label: '输入参数1',
- key: 'ppp1',
- type: 'String',
- length: '20',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'includes',
- type: 'variable',
- target: {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- },
- },
- ],
- },
- {
- id: '49d72236-24e6-488a-8f3e-d430b687129d',
- mode: 'and',
- cases: [],
- },
- {
- id: '11f7d4bc-1bfd-4593-b300-28694b920d58',
- mode: 'and',
- cases: [
- {
- id: 'ac081f15-7237-448c-8565-32912ad0d488',
- source: {
- label: '查询内容',
- key: 'sys.query',
- type: 'String',
- source: 'root',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'empty',
- type: 'constant',
- target: '',
- },
- {
- id: '387345db-2147-46be-b728-5e768130e458',
- source: {
- label: '2414',
- key: 'r3423',
- type: 'Number',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'empty',
- type: 'constant',
- target: '',
- },
- {
- id: '53a9ad75-8737-4323-887c-937e477249ef',
- source: {
- id: '46bdf6ae-8c0e-4da8-924b-e135fdd83008',
- type: 'String',
- source: 'env',
- label: 'env----1',
- key: 'asd',
- },
- method: 'not empty',
- type: 'constant',
- target: '',
- },
- ],
- },
- {
- id: 'b712fcdc-247c-4705-a22e-205728109f61',
- mode: 'and',
- cases: [
- {
- id: '95444d9d-7087-482c-9d36-16c7c54e8c78',
- source: {
- id: 'a15aa50f-814e-4d8e-8317-2f4f5b65abb6',
- type: 'Number',
- source: 'env',
- label: 'ewqe',
- key: 'e123',
- },
- method: '=',
- type: 'constant',
- target: 233,
- },
- {
- id: 'a2e604b4-8b4f-4d8f-a50f-445266ffa6b9',
- source: {
- label: '用户ID',
- key: 'sys.user_id',
- type: 'String',
- source: 'root',
- nodeId: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- method: 'includes',
- type: 'variable',
- target: {
- id: '7af14f11-0e44-4ed7-aabc-00e0d11b640b',
- type: 'String',
- source: 'env',
- label: '124214',
- key: '425',
- },
- },
- ],
- },
- {
- id: '99d376e3-2033-4165-afdf-1f0ec3307a8b',
- mode: 'and',
- cases: [],
- },
- {
- id: 'f14f5500-4dd3-4b2e-a5bf-d5fc4d2202e0',
- mode: 'and',
- cases: [
- {
- id: '44599635-506c-484a-9112-a53e95289170',
- source: {
- id: 'a15aa50f-814e-4d8e-8317-2f4f5b65abb6',
- type: 'Number',
- source: 'env',
- label: 'ewqe',
- key: 'e123',
- },
- method: '=',
- type: 'constant',
- target: '',
- },
- ],
- },
- {
- id: 'a31bf48b-2f82-4a0a-af41-24076fc170a0',
- isElse: true,
- },
- ],
- type: 'if-else',
- },
- },
- {
- id: '483d0519-446b-4d4c-8f70-0f3c96329e7c',
- x: 454,
- y: 404,
- data: {
- id: '483d0519-446b-4d4c-8f70-0f3c96329e7c',
- title: '测试节点',
- desc: '',
- __outVars: [
- {
- label: '参数1',
- key: 'param1',
- type: 'String',
- },
- {
- label: '参数2',
- key: 'param2',
- type: 'Number',
- },
- ],
- type: 'test',
- },
- },
- ],
- edges: [
- {
- target: 'c3187871-987e-46fc-98e1-40946577a8f3',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- {
- target: '483d0519-446b-4d4c-8f70-0f3c96329e7c',
- source: 'eeec6579-6214-4b26-8d53-a7a68abbb032',
- },
- ],
- viewport: {
- zoom: 1.45,
- x: 47.34799120418404,
- y: -87.3533248803019,
- },
- },
- }
|