React components for algorithm visualization and interactive learning.
npm install @patternize/components
# or
yarn add @patternize/components
- Sorting Algorithms
- Merge Sort
- Bubble Sort
- Selection Sort
- Tree Operations
- DFS/BFS Traversals
- B-Tree Operations
- Trie Operations
- Graph Algorithms
- Depth-First Search
- Breadth-First Search
- Dijkstra's Algorithm
- Data Structures
- Linked List Operations
- Binary Tree Operations
- React Fiber Visualization
- Array Visualization
- Tree Charts
- Timeline
- World Map
import {
Sorting,
Graph,
Tree,
LinkedList
} from '@patternize/components';
// Merge Sort Example
export const SortingExample = () => {
return <MergeSortStory />;
};
// Graph Traversal Example
export const GraphExample = () => {
return <GraphDFSStory />;
};
This project uses Node.js v16.10.0 for development.
npm start
- Runs Storybook for developmentnpm run build
- Builds the packagenpm run test
- Runs testsnpm run lint
- Runs linter
- Bump version:
npm version patch
- Push changes with tags:
git push --follow-tags