Saturday 11 February 2023

HLD & LLD - diagrams involved

 High-Level Design (HLD) and Low-Level Design (LLD) are two stages in the software design process. HLD provides a high-level view of the system, including the overall architecture and the relationships between the different components. LLD provides a more detailed view of the individual components and their implementation.

The following are some of the diagrams that are commonly used in HLD and LLD:

High-Level Design (HLD):

  1. Block Diagram: A block diagram shows the high-level structure of the system and the relationships between the different components.

  2. Data Flow Diagram (DFD): A DFD shows the flow of data between the different components of the system.

  3. Entity-Relationship Diagram (ERD): An ERD shows the relationships between entities, such as data objects and their attributes.

Low-Level Design (LLD):

  1. Class Diagram: A class diagram shows the classes and their attributes, methods, and relationships.

  2. Sequence Diagram: A sequence diagram shows the interactions between objects and the order in which they occur.

  3. State Machine Diagram: A state machine diagram shows the different states of an object and the events that trigger transitions between states.

  4. Component Diagram: A component diagram shows the components of the system and their relationships.

  5. Deployment Diagram: A deployment diagram shows the physical deployment of the system components.

These diagrams provide a visual representation of the software design and help developers to understand the overall architecture and the relationships between the different components. By creating HLD and LLD diagrams, developers can ensure that the software design is clear, complete, and correct, and can identify and resolve design issues early in the development process before the implementation begins.