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

feat: use a-star pathfinding algorithm to draw polyline #6181

Merged
merged 5 commits into from
Aug 16, 2024
Merged

Conversation

yvonneyx
Copy link
Contributor

@yvonneyx yvonneyx commented Aug 14, 2024

  • use a-star pathfinding algorithm to find the shortest path between two points
  • unit tests

Kapture 2024-08-14 at 18 50 31

@yvonneyx yvonneyx changed the title WIP: feat: use astar alogorithm to draw polyline feat: use a-star pathfinding algorithm to draw polyline Aug 14, 2024
@yvonneyx yvonneyx force-pushed the feat/astar branch 2 times, most recently from e7c9da2 to e3b021c Compare August 14, 2024 10:50
@@ -0,0 +1,107 @@
import type { Padding } from './padding';
import type { CardinalPlacement } from './placement';
import { Point } from './point';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type

@yvonneyx yvonneyx merged commit fa6e3cd into v5 Aug 16, 2024
5 checks passed
@yvonneyx yvonneyx deleted the feat/astar branch August 16, 2024 07:33
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

Successfully merging this pull request may close these issues.

2 participants