简体   繁体   中英

UML diagram showing interaction between angular components, services and shared services

I want to know what type of UML diagram can be used to show how components are interacting in Angular application.

Suppose i have Component A, and Component B. These both components talk through a Shared Service C, which means that Component A and Component B has dependency on Shared Service C.

I want to document this dependency using UML diagram.

This shows that a component uses another one. Does this answer to your question ?

在此处输入图片说明

For this purpose, I would primarily recommend sequence diagrams . Each lifeline in the diagram represents an Angular component or service.

Based on my experience in designing Angular apps, I have written a white paper on the subject: Technical design in UML for Angular applications .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM