Automatically detect, analyze, and visualize algorithms in codebases
Dissect scans your code to:
- 🔎 Identify algorithms (sorting, graph traversal, etc.)
- 📊 Analyze complexity (time/space Big-O notation)
- 🎨 Generate visualizations (Netron-like flowcharts)
- Category-Driven Visualization
Algorithms are color-coded by type (sorting=red, graph=blue)
- Multi-Language Support: Python, JavaScript, Java (more coming)
- Algorithm Taxonomy: Categorizes implementations into hierarchies
- Educational Annotations: Explains algorithm logic in context
- CI/CD Ready: Integrates with GitHub Actions
pip install dissect
Basic Detection:
dissect analyze --file ./src/sorting.py
# Output:
# [✓] quicksort (sorting) - Confidence: 92%
# [✓] bfs (graph) - Confidence: 85%
Visualization:
dissect visualize --file ./src/graph.py --output architecture
# Saves architecture.png
- Fork the repository
- Create a feature branch (
git checkout -b feat/amazing-feature
) - Commit changes (
git commit -m 'feat: add amazing feature'
) - Push to branch (
git push origin feat/amazing-feature
) - Open a Pull Request
See CONTRIBUTING.md for details. https://discord.gg/ZJz3tT5r
Distributed under the MIT License. See LICENSE
for more information.
Dissect - Because great code deserves to be understood. 🧠