Skip to content

The downloading image has no edge in showcase. #759

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

Open
ufresh2013 opened this issue Apr 10, 2025 · 3 comments
Open

The downloading image has no edge in showcase. #759

ufresh2013 opened this issue Apr 10, 2025 · 3 comments
Assignees

Comments

@ufresh2013
Copy link

What platform were you using when you found the bug?

  • React Flow / Svelte Flow version: ^12.5.5
  • Browser and version: Chrome 135.0.7049.42
  • OS and version: mac

Live code example

https://reactflow.nodejs.cn/examples/misc/download-image

Describe the Bug

The exported flow image has no edge.

Steps to reproduce the bug or issue

When I Open the code in Stackblitz:
https://reactflow.nodejs.cn/examples/misc/download-image

Image

And click the download image button
Image

The image go wrong. It has no edge.
Image

Expected behavior

Exported image show all thing well.

Screenshots or Videos

No response

Additional context

No response

@ufresh2013 ufresh2013 reopened this Apr 10, 2025
@ufresh2013 ufresh2013 changed the title The exported flow image has no edge. The downloading image has no edge in showcase. Apr 10, 2025
@ufresh2013
Copy link
Author

ufresh2013 commented Apr 10, 2025

It's ok for me to set edge's style

edges.push({
    id: `e${source}-${target}`,
    source,
    target,
    label,
    style: {
      stroke: '#b1b1b7',
    },
    labelStyle: {
      fill: '#b1b1b7',
    },
    labelBgStyle: {
      fill: '#fff',
    },
})

@moklick moklick transferred this issue from xyflow/xyflow Apr 10, 2025
@moklick moklick self-assigned this Apr 10, 2025
@usmanabdurrehman
Copy link
Contributor

Made fix under #762

@moklick
Copy link
Member

moklick commented Apr 14, 2025

We added a message to our docs. Hopefully this issue gets resolved: bubkoo/html-to-image#516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants