From a82f0fd972ef31a671712c645ab172200be2a8e7 Mon Sep 17 00:00:00 2001 From: viviman <962464Nas> Date: Tue, 26 Apr 2022 23:15:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BF=BD=E7=95=A5=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++ example/mock/db.json | 110 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) diff --git a/.gitignore b/.gitignore index b7cb4f2..2521244 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ example/.env.local # eslint .eslint-error.log +/.idea/ +/.github/ +/.circleci/ diff --git a/example/mock/db.json b/example/mock/db.json index e22eac4..d13b97a 100644 --- a/example/mock/db.json +++ b/example/mock/db.json @@ -538,6 +538,116 @@ }, "id": "1d174369-929b-4bd5-8841-f271399c4a4f", "zIndex": 9 + }, + { + "position": { + "x": 267, + "y": -53 + }, + "size": { + "width": 40, + "height": 30 + }, + "shape": "imove-branch", + "data": { + "label": "判断", + "configSchema": "{\n \n}", + "configData": {}, + "dependencies": "{\n \n}", + "ports": { + "right": { + "condition": "true" + }, + "bottom": { + "condition": "false" + } + }, + "code": "export default async function(ctx) {\n return true;\n}" + }, + "ports": { + "groups": { + "top": { + "position": "top", + "attrs": { + "circle": { + "r": 2.5, + "magnet": true, + "stroke": "#DD7500", + "strokeWidth": 2, + "fill": "#fff" + } + } + }, + "right": { + "position": "right", + "attrs": { + "circle": { + "r": 2.5, + "magnet": true, + "stroke": "#DD7500", + "strokeWidth": 2, + "fill": "#fff" + } + }, + "label": { + "position": "right" + } + }, + "bottom": { + "position": "bottom", + "attrs": { + "circle": { + "r": 2.5, + "magnet": true, + "stroke": "#DD7500", + "strokeWidth": 2, + "fill": "#fff" + } + }, + "label": { + "position": "bottom" + } + }, + "left": { + "position": "left", + "attrs": { + "circle": { + "r": 2.5, + "magnet": true, + "stroke": "#DD7500", + "strokeWidth": 2, + "fill": "#fff" + } + } + } + }, + "items": [ + { + "id": "right", + "group": "right", + "attrs": { + "text": { + "text": "" + } + } + }, + { + "id": "bottom", + "group": "bottom", + "attrs": { + "text": { + "text": "" + } + } + }, + { + "id": "left", + "group": "left" + } + ] + }, + "id": "ac6b7b0d-e47a-4258-982c-9464df37fbb4", + "zIndex": 10 } ] } \ No newline at end of file