

There is a ticket seller component that sequentializes requests from both ticket selling system and clerks. Ticket Selling System Component Diagram Example As long as those requirements are maintained changes to one component will not percolate to other components.

By using a component diagram we see the system as a group of nearly independent component or subsystems that interact with each other in a specifically defined way.Įach component is responsible for the action for which it is named and interface(s) it provides. The Figure below is a much larger view of what is involved in a online store. One main benefit of Component diagrams if to simplify the high-level view of the system. Order Processing System Component diagram example

Add the dependencies between the elements of the diagram.Add other elements to the diagram, such as classes, objects and interface.Add components to the diagram, grouping them within other components if appropriate.The breakdown of components into a lower-level structure.Use component diagrams when you are dividing your system into components and want to show their interrelationships through interfaces.Instead, the component delegates the interface(s) to an internal class. PortĪ port (definition) indicates that the component itself does not provide the required interfaces (e.g., required or provided). Component AssembliesĬomponents can be "wired" together using to form subsystems, with the use of a ball-and-socket joint. Required interfaces define "a set of public attributes and operations that are required by the classes that depend upon a given interface". Provided interfaces define "a set of public attributes and operations that must be provided by the classes that implement a given interface". The component stereotype's text is ">" and the component stereotype icon is a rectangle with two smaller rectangles protruding on its left side. A component can be represented as just a rectangle with the component's name and the component stereotype text and/or icon. A component is drawn as a rectangle with optional compartments stacked vertically.
