Use a component diagram (component diagram: An implementation diagram that shows the structure of the code itself. From a component diagram, you can learn about compiler and run-time dependencies between software components, such as source code files or DLLs.) to partition a system into cohesive components and show the structure of the code itself. Edraw is ideal for software designers and software developers who need to draw UML component diagrams.
In Edraw Professional, the UML Component Diagrams template and shapes are in the Software folder.
Edraw is an ideal software to draw UML component diagrams.