├── .cspell.json
├── .env.example
├── .github
├── FUNDING.yml
├── ISSUE_TEMPLATE
│ ├── bug_report.yml
│ └── feature_request.yml
├── images
│ ├── example-image-low.gif
│ ├── example-image.gif
│ └── example-video.mp4
└── workflows
│ ├── chromatic.yml
│ ├── codeql.yml
│ ├── stale.yml
│ └── test-ui.yml
├── .gitignore
├── .np-config.json
├── .npmrc
├── .prettierrc
├── .release-it.json
├── .storybook
├── main.ts
├── preview.ts
└── vitest.setup.ts
├── LICENSE
├── README.md
├── chromatic.config.json
├── eslint.config.js
├── index.html
├── package.json
├── src
├── SmartBezierEdge
│ └── index.tsx
├── SmartEdge
│ └── index.tsx
├── SmartStepEdge
│ └── index.tsx
├── SmartStraightEdge
│ └── index.tsx
├── functions
│ ├── createGrid.ts
│ ├── drawSvgPath.ts
│ ├── generatePath.ts
│ ├── getBoundingBoxes.ts
│ ├── guaranteeWalkablePath.ts
│ ├── index.ts
│ ├── pointConversion.ts
│ └── utils.ts
├── getSmartEdge
│ └── index.ts
├── index.tsx
├── internal
│ ├── SmartEdgeDebug.tsx
│ ├── SmartEdgeDebugOverlay.tsx
│ └── useSmartEdgeDebug.ts
├── pathfinding
│ ├── aStar.ts
│ ├── grid.ts
│ └── types.ts
├── stories
│ ├── CustomLabel.tsx
│ ├── DummyData.ts
│ ├── GraphWrapper.tsx
│ └── SmartEdge.stories.tsx
└── vite-env.d.ts
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
├── vite.config.ts
└── vitest.shims.d.ts
/.cspell.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.cspell.json
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.env.example
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/FUNDING.yml
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml
--------------------------------------------------------------------------------
/.github/images/example-image-low.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/images/example-image-low.gif
--------------------------------------------------------------------------------
/.github/images/example-image.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/images/example-image.gif
--------------------------------------------------------------------------------
/.github/images/example-video.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/images/example-video.mp4
--------------------------------------------------------------------------------
/.github/workflows/chromatic.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/workflows/chromatic.yml
--------------------------------------------------------------------------------
/.github/workflows/codeql.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/workflows/codeql.yml
--------------------------------------------------------------------------------
/.github/workflows/stale.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/workflows/stale.yml
--------------------------------------------------------------------------------
/.github/workflows/test-ui.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.github/workflows/test-ui.yml
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.gitignore
--------------------------------------------------------------------------------
/.np-config.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.np-config.json
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | save-exact = true
2 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/.release-it.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.release-it.json
--------------------------------------------------------------------------------
/.storybook/main.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.storybook/main.ts
--------------------------------------------------------------------------------
/.storybook/preview.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.storybook/preview.ts
--------------------------------------------------------------------------------
/.storybook/vitest.setup.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/.storybook/vitest.setup.ts
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/LICENSE
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/README.md
--------------------------------------------------------------------------------
/chromatic.config.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/chromatic.config.json
--------------------------------------------------------------------------------
/eslint.config.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/eslint.config.js
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/index.html
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/package.json
--------------------------------------------------------------------------------
/src/SmartBezierEdge/index.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/SmartBezierEdge/index.tsx
--------------------------------------------------------------------------------
/src/SmartEdge/index.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/SmartEdge/index.tsx
--------------------------------------------------------------------------------
/src/SmartStepEdge/index.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/SmartStepEdge/index.tsx
--------------------------------------------------------------------------------
/src/SmartStraightEdge/index.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/SmartStraightEdge/index.tsx
--------------------------------------------------------------------------------
/src/functions/createGrid.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/createGrid.ts
--------------------------------------------------------------------------------
/src/functions/drawSvgPath.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/drawSvgPath.ts
--------------------------------------------------------------------------------
/src/functions/generatePath.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/generatePath.ts
--------------------------------------------------------------------------------
/src/functions/getBoundingBoxes.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/getBoundingBoxes.ts
--------------------------------------------------------------------------------
/src/functions/guaranteeWalkablePath.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/guaranteeWalkablePath.ts
--------------------------------------------------------------------------------
/src/functions/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/index.ts
--------------------------------------------------------------------------------
/src/functions/pointConversion.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/pointConversion.ts
--------------------------------------------------------------------------------
/src/functions/utils.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/functions/utils.ts
--------------------------------------------------------------------------------
/src/getSmartEdge/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/getSmartEdge/index.ts
--------------------------------------------------------------------------------
/src/index.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/index.tsx
--------------------------------------------------------------------------------
/src/internal/SmartEdgeDebug.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/internal/SmartEdgeDebug.tsx
--------------------------------------------------------------------------------
/src/internal/SmartEdgeDebugOverlay.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/internal/SmartEdgeDebugOverlay.tsx
--------------------------------------------------------------------------------
/src/internal/useSmartEdgeDebug.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/internal/useSmartEdgeDebug.ts
--------------------------------------------------------------------------------
/src/pathfinding/aStar.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/pathfinding/aStar.ts
--------------------------------------------------------------------------------
/src/pathfinding/grid.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/pathfinding/grid.ts
--------------------------------------------------------------------------------
/src/pathfinding/types.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/pathfinding/types.ts
--------------------------------------------------------------------------------
/src/stories/CustomLabel.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/stories/CustomLabel.tsx
--------------------------------------------------------------------------------
/src/stories/DummyData.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/stories/DummyData.ts
--------------------------------------------------------------------------------
/src/stories/GraphWrapper.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/stories/GraphWrapper.tsx
--------------------------------------------------------------------------------
/src/stories/SmartEdge.stories.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/src/stories/SmartEdge.stories.tsx
--------------------------------------------------------------------------------
/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/tsconfig.app.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/tsconfig.app.json
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/tsconfig.json
--------------------------------------------------------------------------------
/tsconfig.node.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/tsconfig.node.json
--------------------------------------------------------------------------------
/vite.config.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tisoap/react-flow-smart-edge/HEAD/vite.config.ts
--------------------------------------------------------------------------------
/vitest.shims.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------