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没问题,就是连接线显示不对 #3581

Closed
Bigdaniel123 opened this issue May 11, 2023 · 2 comments
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems

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

@NewByVector
Copy link
Contributor

请提供一个可以复现的 demo。

@NewByVector NewByVector added the resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems label May 12, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 5, 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 Jul 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems
Projects
None yet
Development

No branches or pull requests

2 participants