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

Edges not starting/ending on XY coords #48

Closed
AlanJereb opened this issue Apr 13, 2023 · 1 comment
Closed

Edges not starting/ending on XY coords #48

AlanJereb opened this issue Apr 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@AlanJereb
Copy link

Describe the Bug

I would expect the edges to start and end on the provided XY coordinates, but they don't.

Used props:

    const getSmartEdgeReturn = getSmartEdge({
      sourceX: (maxX + defaultNodeWidth + minX) / 2,
      sourceY: (maxY + defaultNodeHeight + 20),
      sourcePosition: Position.Bottom,
      targetX: parentNode.position.x + defaultNodeWidth * 0.73,
      targetY: parentNode.position.y + defaultNodeHeight / 2,
      targetPosition: Position.Right,
      nodes: flowInstance.getNodes(),
      options: {
        nodePadding: defaultNodeWidth / 4,
        drawEdge: svgDrawStraightLinePath,
        generatePath: pathfindingJumpPointNoDiagonal,
      }
    });

Minimal Example

/

Steps to Reproduce the Bug or Issue

/

Expected behavior

Line should start and end on the provided coordinates.

Screenshots or Videos

Issue

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@AlanJereb AlanJereb added the bug Something isn't working label Apr 13, 2023
@tisoap
Copy link
Owner

tisoap commented Apr 13, 2023

Closing due to lack of minimal example

@tisoap tisoap closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
Repository owner locked as resolved and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants