|
|
|
|
@ -2,32 +2,32 @@ export const exampleFlowData = {
|
|
|
|
|
'main': {
|
|
|
|
|
'id': 'main',
|
|
|
|
|
'lineConfigs': [
|
|
|
|
|
// {
|
|
|
|
|
// 'id': '606f71c3-2051-4775-92a0-835d75b9ab91',
|
|
|
|
|
// 'lineType': 'API',
|
|
|
|
|
// 'next': {
|
|
|
|
|
// 'endpointId': 'start',
|
|
|
|
|
// 'nodeId': 'node_49'
|
|
|
|
|
// },
|
|
|
|
|
// 'prev': {
|
|
|
|
|
// 'endpointId': 'start',
|
|
|
|
|
// 'nodeId': 'start'
|
|
|
|
|
// },
|
|
|
|
|
// 'x6': '{"vertices":[]}'
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// 'id': '480b362e-45c6-4d9f-b55c-532703ff64ec',
|
|
|
|
|
// 'lineType': 'API',
|
|
|
|
|
// 'next': {
|
|
|
|
|
// 'endpointId': 'end',
|
|
|
|
|
// 'nodeId': 'end'
|
|
|
|
|
// },
|
|
|
|
|
// 'prev': {
|
|
|
|
|
// 'endpointId': 'done',
|
|
|
|
|
// 'nodeId': 'node_49'
|
|
|
|
|
// },
|
|
|
|
|
// 'x6': '{"vertices":[]}'
|
|
|
|
|
// }
|
|
|
|
|
{
|
|
|
|
|
'id': '606f71c3-2051-4775-92a0-835d75b9ab91',
|
|
|
|
|
'lineType': 'API',
|
|
|
|
|
'next': {
|
|
|
|
|
'endpointId': 'start',
|
|
|
|
|
'nodeId': 'node_49'
|
|
|
|
|
},
|
|
|
|
|
'prev': {
|
|
|
|
|
'endpointId': 'start',
|
|
|
|
|
'nodeId': 'start'
|
|
|
|
|
},
|
|
|
|
|
'x6': '{"vertices":[]}'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'id': '480b362e-45c6-4d9f-b55c-532703ff64ec',
|
|
|
|
|
'lineType': 'API',
|
|
|
|
|
'next': {
|
|
|
|
|
'endpointId': 'end',
|
|
|
|
|
'nodeId': 'end'
|
|
|
|
|
},
|
|
|
|
|
'prev': {
|
|
|
|
|
'endpointId': 'done',
|
|
|
|
|
'nodeId': 'node_49'
|
|
|
|
|
},
|
|
|
|
|
'x6': '{"vertices":[]}'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
'name': '',
|
|
|
|
|
'nodeConfigs': [
|
|
|
|
|
@ -44,47 +44,47 @@ export const exampleFlowData = {
|
|
|
|
|
'nodeName': '',
|
|
|
|
|
'x6': '{"position":{"x":-250,"y":0}}'
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// 'apiId': '',
|
|
|
|
|
// 'component': {
|
|
|
|
|
// 'compIdentifier': 'admin_connect_test',
|
|
|
|
|
// 'compInstanceIdentifier': 'admin_connect_test',
|
|
|
|
|
// 'customDef': '',
|
|
|
|
|
// 'type': 'BASIC'
|
|
|
|
|
// },
|
|
|
|
|
// 'dataIns': [
|
|
|
|
|
// {
|
|
|
|
|
// 'arrayType': null,
|
|
|
|
|
// 'dataType': null,
|
|
|
|
|
// 'defaultValue': null,
|
|
|
|
|
// 'desc': '',
|
|
|
|
|
// 'id': 'input'
|
|
|
|
|
// }
|
|
|
|
|
// ],
|
|
|
|
|
// 'dataOfPrevNodeMap': {},
|
|
|
|
|
// 'dataOuts': [
|
|
|
|
|
// {
|
|
|
|
|
// 'arrayType': null,
|
|
|
|
|
// 'dataType': null,
|
|
|
|
|
// 'defaultValue': null,
|
|
|
|
|
// 'desc': '',
|
|
|
|
|
// 'id': 'output'
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// 'arrayType': null,
|
|
|
|
|
// 'dataType': 'STRING',
|
|
|
|
|
// 'defaultValue': null,
|
|
|
|
|
// 'desc': '返回数据',
|
|
|
|
|
// 'id': 'returnData'
|
|
|
|
|
// }
|
|
|
|
|
// ],
|
|
|
|
|
// 'defaultValues': [],
|
|
|
|
|
// 'description': '',
|
|
|
|
|
// 'joinLines': {},
|
|
|
|
|
// 'nodeId': 'node_49',
|
|
|
|
|
// 'nodeName': '连接test',
|
|
|
|
|
// 'x6': '{"position":{"x":-90,"y":-60}}'
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
'apiId': '',
|
|
|
|
|
'component': {
|
|
|
|
|
'compIdentifier': 'admin_connect_test',
|
|
|
|
|
'compInstanceIdentifier': 'admin_connect_test',
|
|
|
|
|
'customDef': '',
|
|
|
|
|
'type': 'BASIC'
|
|
|
|
|
},
|
|
|
|
|
'dataIns': [
|
|
|
|
|
{
|
|
|
|
|
'arrayType': null,
|
|
|
|
|
'dataType': null,
|
|
|
|
|
'defaultValue': null,
|
|
|
|
|
'desc': '',
|
|
|
|
|
'id': 'input'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
'dataOfPrevNodeMap': {},
|
|
|
|
|
'dataOuts': [
|
|
|
|
|
{
|
|
|
|
|
'arrayType': null,
|
|
|
|
|
'dataType': null,
|
|
|
|
|
'defaultValue': null,
|
|
|
|
|
'desc': '',
|
|
|
|
|
'id': 'output'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'arrayType': null,
|
|
|
|
|
'dataType': 'STRING',
|
|
|
|
|
'defaultValue': null,
|
|
|
|
|
'desc': '返回数据',
|
|
|
|
|
'id': 'returnData'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
'defaultValues': [],
|
|
|
|
|
'description': '',
|
|
|
|
|
'joinLines': {},
|
|
|
|
|
'nodeId': 'node_49',
|
|
|
|
|
'nodeName': '连接test',
|
|
|
|
|
'x6': '{"position":{"x":-90,"y":-60}}'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'apiId': '',
|
|
|
|
|
'component': null,
|
|
|
|
|
|