| Component / Package | High-level system architecture, layers, module dependencies | Architecture docs; adding new modules; specs showing system composition | @startuml with package, component, [name] |
| Class | Class hierarchies, interfaces, data models (dataclasses, Pydantic), entity relationships | Adding new classes/models; refactoring class hierarchy; storage/query models | @startuml with class, interface, inheritance arrows |
| Object | Snapshot of object instances with actual data at a specific point in time | Debugging documentation; showing concrete state examples; test data illustration | @startuml with object, field values |
| ER (Entity-Relationship) | Database schemas, table relationships with cardinalities (1:N, M:N) | Database storage design; any database work | @startuml with entity, field definitions, ||--o{ |
| Deployment | Physical deployment topology: processes, threads, file system, cache, network | Architecture deployment docs; Web UI with server + WebSocket | @startuml with node, artifact, database |
| Network (nwdiag) | Network topology, servers, subnets, ports | Infrastructure documentation; service communication topology | @startuml with nwdiag { network ... } |