We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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没问题,就是连接线显示不对
我本地项目
{ 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", }, },]}
源和目标能正确连接
No response
The text was updated successfully, but these errors were encountered:
Potential duplicates:
Sorry, something went wrong.
和 #3581 重复。
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.
No branches or pull requests
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
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: