Skip to content

Fn svgDrawStraightLinePath and pathfindingAStarNoDiagonal not exported #67

@davidebibm

Description

@davidebibm

Describe the Bug

Hello, thanks for your effort on this lib!

I'm testing this configurtation but seems that svgDrawStraightLinePath and pathfindingAStarNoDiagonal are not exported.

Minimal Example

https://tisoap.github.io/react-flow-smart-edge/

Steps to Reproduce the Bug or Issue

use the example provided in the doc.

const stepResult = getSmartEdge({
	// ...
	options: {
		drawEdge: svgDrawStraightLinePath,
		generatePath: pathfindingAStarNoDiagonal,
	}
})

Expected behavior

Should work like the example

Screenshots or Videos

export 'pathfindingAStarNoDiagonal' (imported as 'pathfindingAStarNoDiagonal') was not found in '@tisoap/react-flow-smart-edge' (possible exports: SmartBezierEdge, SmartStepEdge, SmartStraightEdge, getSmartEdge, pathfindingAStarDiagonal, svgDrawSmoothLinePath)

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: latest

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpinnedThis should not be closed by bots on inactivity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions