f-flow icon indicating copy to clipboard operation
f-flow copied to clipboard

[Bug]: Connection edges not visible when nodes are aligned vertically/horizontally (degenerate bounding box for gradient)

Open crabouif opened this issue 4 months ago • 1 comments

Reproduction URL (StackBlitz, GitHub, etc.)

No response

Steps to Reproduce

  1. Create a flow with layout with ~200 nodes and ~160 edges
  2. Layout vertically or horizontally with dagre

Big tree:

Image

Expected Behavior

The edge should always be visible, regardless of whether the connection path is vertical or horizontal.

Actual Behavior

The edge is not visible when nodes are fully aligned and so the edge is straight.

Image

If the child node moved, then edge appear:

Image

Browser

Chrome

crabouif avatar Sep 29 '25 14:09 crabouif

Hi, thanks for opening this.

Could you please provide a minimal reproducible example (e.g. via StackBlitz, CodeSandbox, or GitHub Gist) that demonstrates this issue? Having a live reproduction will help to pinpoint whether the problem lies in the library or in the integration context.

Thank you!

siarheihuzarevich avatar Sep 29 '25 22:09 siarheihuzarevich