Showing
1 changed file
with
4 additions
and
1 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2023-10-27 09:29:48 | 2 | * @Date: 2023-10-27 09:29:48 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-01 16:47:11 | 4 | + * @LastEditTime: 2023-12-01 17:40:28 |
| 5 | * @FilePath: /vue-flow-editor/doc/data.js | 5 | * @FilePath: /vue-flow-editor/doc/data.js |
| 6 | * @Description: 初始化结构,数据都是固定的 | 6 | * @Description: 初始化结构,数据都是固定的 |
| 7 | */ | 7 | */ |
| ... | @@ -59,18 +59,21 @@ export const AppData = { | ... | @@ -59,18 +59,21 @@ export const AppData = { |
| 59 | ], | 59 | ], |
| 60 | edges: [ | 60 | edges: [ |
| 61 | { | 61 | { |
| 62 | + shape: 'flow-polyline-round', | ||
| 62 | source: 'start-node', | 63 | source: 'start-node', |
| 63 | sourceAnchor: 2, | 64 | sourceAnchor: 2, |
| 64 | target: flow_id, | 65 | target: flow_id, |
| 65 | targetAnchor: 0, | 66 | targetAnchor: 0, |
| 66 | }, | 67 | }, |
| 67 | { | 68 | { |
| 69 | + shape: 'flow-polyline-round', | ||
| 68 | source: flow_id, | 70 | source: flow_id, |
| 69 | sourceAnchor: 2, | 71 | sourceAnchor: 2, |
| 70 | target: 'end-node', | 72 | target: 'end-node', |
| 71 | targetAnchor: 0, | 73 | targetAnchor: 0, |
| 72 | }, | 74 | }, |
| 73 | { | 75 | { |
| 76 | + shape: 'flow-polyline-round', | ||
| 74 | source: flow_id, | 77 | source: flow_id, |
| 75 | sourceAnchor: 3, | 78 | sourceAnchor: 3, |
| 76 | target: cc_id, | 79 | target: cc_id, | ... | ... |
-
Please register or login to post a comment