Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node和连接桩之间连线,source,target没问题,就是连接线显示不对,拖动的时候才会连到源和目标 #3582

Closed
Bigdaniel123 opened this issue May 11, 2023 · 4 comments
Labels
potential-duplicate This issue or pull request may duplicated with others.

Comments

@Bigdaniel123
Copy link

Describe the bug

node和连接桩之间连线,source,target没问题,就是连接线显示不对

Your Example Website or App

我本地项目

Steps to Reproduce the Bug or Issue

{
nodes: [
{
type: "stopValve",
id: "fb1-1",
position: {
x: 80,
y: 50,
},
ports: portsPositionFix(portsLFCenter, {
left: { dx: 0, dy: 0.6, id: "fb1-1-port-1" },
right: { dx: 1, dy: 0.6, id: "fb1-1-port-2" },
}),
},
{
type: "tee",
id: "t1",
angle: -90,
position: {
x: 180,
y: 50,
},
},
{
type: "stopValve",
id: "fb1-2",
angle: 90,
position: {
x: 160,
y: 110,
},
ports: portsPositionFix(portsLFCenter, {
left: { dx: 0, dy: 0.5, id: "fb1-2-port-1" },
right: { dx: 1, dy: 0.5, id: "fb1-2-port-2" },
}),
},
],
edges: [
{
id: "1",
source: {
cell: "fb1-1",
port: "fb1-1-port-1",
},
target: "t1",
{
id: "2",
// source: { x: 180, y: 60 },
// target: { x: 180, y: 100 },
source: "t1",
target: {
cell: "fb1-2",
port: "fb1-2-port-1",
},
},]}

Expected behavior

源和目标能正确连接

Screenshots or Videos

Uploading 微信截图_20230511153822.png…

Platform

  • OS: [Windows]
  • Browser: [Chrome]
  • Version: [e.g. 2.x]

Additional context

No response

@x6-bot x6-bot bot added the potential-duplicate This issue or pull request may duplicated with others. label May 11, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented May 11, 2023

Potential duplicates:

@Bigdaniel123 Bigdaniel123 changed the title node和连接桩之间连线,source,target没问题,就是连接线显示不对 node和连接桩之间连线,source,target没问题,就是连接线显示不对,拖动的时候才会连到源和目标 May 11, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented May 11, 2023

Potential duplicates:

@NewByVector
Copy link
Contributor

#3581 重复。

@x6-bot
Copy link
Contributor

x6-bot bot commented May 12, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators May 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
potential-duplicate This issue or pull request may duplicated with others.
Projects
None yet
Development

No branches or pull requests

2 participants