didi / didi/LogicFlow

[Bug Report]: 当页面存在两个流程图使用一份数据时,箭头方向存在问题

Open
#1,723 1 comment 0 reactions 1 assignee Claimed by @DymoneLewis View on GitHub
core: edge status: todo type:bug
Dominant language
TypeScript
Stars
11.7k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

### What happened?

是同一份数据,他们 edge 的 id 是相同的,下图的箭头方向始终会与上图的箭头方向保持一致,这是不合理的,因为相同的 edge id 也并未对他们的连线产生影响,只影响了箭头。
拖动节点,拖动连线,箭头方向改变都不会对另一图产生影响,这才是合理的。

提供了最小实现:
[logic-flow-react-arrow.zip](https://github.com/user-attachments/files/16477927/logic-flow-react-arrow.zip)
image

### Core Version

1.2.28

### Extension Version

no

### Engine Version

_No response_

### What browsers are you seeing the problem on?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.