-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Added high-level diagrams #3042
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a set of mermaid-based, high-level architecture diagrams and accompanying component documentation under the .codeboarding directory to help scientists and new users quickly understand and navigate the DeepLabCut codebase.
- Added a top-level onboarding document with an overall system flow diagram and clickable links to component details.
- Created component-specific diagrams and detailed descriptions for each of the five core subsystems.
- Included styling badges and FAQ links to integrate with CodeBoarding’s generated documentation workflow.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| .codeboarding/on_boarding.md | Added overall DeepLabCut architecture diagram and component links |
| .codeboarding/User_Interface.md | Added UI subsystem diagram and detailed component descriptions |
| .codeboarding/Project_Data_Workflow_Management.md | Added project and data workflow management diagram and details |
| .codeboarding/Core_Deep_Learning_Engine.md | Added core deep learning engine diagram and descriptions |
| .codeboarding/Advanced_Analysis_Post_processing.md | Added advanced analysis & post-processing diagram and descriptions |
| .codeboarding/System_Utilities_Benchmarking.md | Added system utilities & benchmarking diagram and details |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | ||
|
|
||
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | ||
|
|
||
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | ||
|
|
||
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | ||
|
|
||
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" |
Copilot
AI
Jul 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra slash in the URL path (.codeboarding//User_Interface.md), which may break the link. Please remove the duplicate slash.
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" | |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/System_Utilities_Benchmarking.md" "Details" |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | ||
|
|
||
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | ||
|
|
||
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | ||
|
|
||
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | ||
|
|
||
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" |
Copilot
AI
Jul 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra slash in the URL path (.codeboarding//Project_Data_Workflow_Management.md), which may break the link. Please remove the duplicate slash.
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" | |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/System_Utilities_Benchmarking.md" "Details" |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | ||
|
|
||
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | ||
|
|
||
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | ||
|
|
||
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | ||
|
|
||
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" |
Copilot
AI
Jul 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra slash in the URL path (.codeboarding//Core_Deep_Learning_Engine.md), which may break the link. Please remove the duplicate slash.
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" | |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/System_Utilities_Benchmarking.md" "Details" |
|
|
||
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | ||
|
|
||
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" |
Copilot
AI
Jul 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra slash in the URL path (.codeboarding//Advanced_Analysis_Post_processing.md), which may break the link. Please remove the duplicate slash.
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Advanced_Analysis_Post_processing.md" "Details" |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | ||
|
|
||
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | ||
|
|
||
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | ||
|
|
||
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | ||
|
|
||
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" |
Copilot
AI
Jul 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra slash in the URL path (.codeboarding//System_Utilities_Benchmarking.md), which may break the link. Please remove the duplicate slash.
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//System_Utilities_Benchmarking.md" "Details" | |
| click User_Interface href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/User_Interface.md" "Details" | |
| click Project_Data_Workflow_Management href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Project_Data_Workflow_Management.md" "Details" | |
| click Core_Deep_Learning_Engine href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Core_Deep_Learning_Engine.md" "Details" | |
| click Advanced_Analysis_Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Advanced_Analysis_Post_processing.md" "Details" | |
| click System_Utilities_Benchmarking href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/System_Utilities_Benchmarking.md" "Details" |
|
|
||
| Pose_Estimation_3D -- "uses" --> Post_processing | ||
|
|
||
| click Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Post_processing.md" "Details" |
Copilot
AI
Jul 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an extra slash in the URL path (.codeboarding//Post_processing.md), which may break the link. Please remove the duplicate slash.
| click Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding//Post_processing.md" "Details" | |
| click Post_processing href "https://github.com/DeepLabCut/DeepLabCut/blob/main/.codeboarding/Post_processing.md" "Details" |
|
Hey, a quick update on our side, this week we released our diagram generaiton engine as an open-source project! If you are interested to see more on how the generation works you can do so at https://github.com/CodeBoarding/CodeBoarding |
I’ve generated a first diagram-based documentation for DeepLabCut to help new users—especially scientists—get up to speed more quickly with the codebase. You can see a preview here: https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/DeepLabCut/on_boarding.md
The diagrams aim to show the core components of the project and how they interact with each other. As many users are more interested in understanding the high-level flow (rather than reading through all the source code), this should help them navigate the codebase more easily. From the diagrams, one can click into a specific component of interest and explore it in detail—enabling focused exploration while still seeing how everything fits together.
This can be especially useful for:
We’ve also released a free GitHub Action that automatically keeps the diagrams updated, so they stay in sync with code changes.
Would love to get your feedback! And happy to chat about how we can support onboarding and collaboration for scientist-developers using DeepLabCut.