I generated an interactive diagram to explore dlrover's codebase #1613
Closed
ivanmilevtues
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, all I've always wanted to contribute to open-source projects. But at the very begining I found it a bit too difficult to navigate them and wrap my head around on the main flow and the main "logical" components. That is why I started working on a project to help people like me, who are visual learners. The project generates an interactive diagram starting from the highest level of abstraction and allows you to dive deeper into interesting components.
Here is the diagram:
graph LR DLRover_Client_API["DLRover Client & API"] DLRover_Control_Plane["DLRover Control Plane"] DLRover_Elastic_Agent["DLRover Elastic Agent"] Cluster_Orchestration_Layer["Cluster Orchestration Layer"] DLRover_Backend_Services_Go_["DLRover Backend Services (Go)"] Event_Metrics_Bus["Event & Metrics Bus"] DLRover_Client_API -- "Submits Job Configuration" --> DLRover_Control_Plane DLRover_Control_Plane -- "Sends Commands To" --> DLRover_Elastic_Agent DLRover_Elastic_Agent -- "Sends Status & Metrics To" --> DLRover_Control_Plane DLRover_Control_Plane -- "Manages Cluster Resources Via" --> Cluster_Orchestration_Layer Cluster_Orchestration_Layer -- "Sends Node Status To" --> DLRover_Control_Plane DLRover_Control_Plane -- "Accesses Data & Insights From" --> DLRover_Backend_Services_Go_ DLRover_Backend_Services_Go_ -- "Provides Data & Insights To" --> DLRover_Control_Plane DLRover_Elastic_Agent -- "Emits Training Events & Metrics" --> Event_Metrics_Bus Event_Metrics_Bus -- "Forwards Critical Events & Metrics for Analysis" --> DLRover_Control_Plane click DLRover_Client_API href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/DLRover_Client_API.md" "Details" click DLRover_Control_Plane href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/DLRover_Control_Plane.md" "Details" click DLRover_Elastic_Agent href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/DLRover_Elastic_Agent.md" "Details" click Cluster_Orchestration_Layer href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/Cluster_Orchestration_Layer.md" "Details" click DLRover_Backend_Services_Go_ href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/DLRover_Backend_Services_Go_.md" "Details" click Event_Metrics_Bus href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/Event_Metrics_Bus.md" "Details"The generation tool is based on Static Analysis and LLMs and is fully open-source: https://github.com/CodeBoarding/CodeBoarding
You can see the full diagram with explanations and related source code here: https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/dlrover/on_boarding.md
Any feedback is appreciated! Would love to hear your opinion on diagrams as an exploration tooling and diagram first documentation!
Beta Was this translation helpful? Give feedback.
All reactions