Skip to content

[Bug Report]: 调整连线 报错<rect> attribute x: Expected length, "NaN". #2121

@langcs

Description

@langcs

发生了什么?

{ "nodes": [ { "properties": {}, "x": 241, "y": 129, "id": "pHIpJtG0", "text": "开始", "type": "custom-start" }, { "properties": {}, "x": 435, "y": 176, "id": "1PEBPRfZ", "text": "节点", "type": "custom-node" }, { "properties": {}, "x": 599, "y": 332, "id": "gFkBkPB5", "text": "结束", "type": "custom-end" } ], "edges": [ { "properties": {}, "pointsList": [ { "x": 277, "y": 129 }, { "x": 324, "y": 129 }, { "x": 324, "y": 176 }, { "x": 371, "y": 176 } ], "endPoint": { "x": 371, "y": 176 }, "targetAnchorId": "1PEBPRfZ_3", "sourceNodeId": "pHIpJtG0", "startPoint": { "x": 277, "y": 129 }, "id": "wwqYyMUi", "type": "custom-edge", "targetNodeId": "1PEBPRfZ", "sourceAnchorId": "pHIpJtG0_1" }, { "properties": {}, "pointsList": [ { "x": 499, "y": 176 }, { "x": 599, "y": 176 }, { "x": 599, "y": 296 } ], "endPoint": { "x": 599, "y": 296 }, "targetAnchorId": "gFkBkPB5_0", "sourceNodeId": "1PEBPRfZ", "startPoint": { "x": 499, "y": 176 }, "id": "8OMx1dEh", "type": "custom-edge", "targetNodeId": "gFkBkPB5", "sourceAnchorId": "1PEBPRfZ_1" } ] }
使用lf.render(data) 调整连线 报错

Image

logicflow/core版本

2.0.11

logicflow/extension版本

2.0.15

logicflow/engine版本

No response

浏览器&环境

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions