1. 程式人生 > >UML基本架構建模--圖概述

UML基本架構建模--圖概述

DIAGRAMS

圖群

When you model something, you create a simplification of reality so that you can better understand the system you are developing. Using the UML, you build your models from basic building blocks, such as classes, interfaces, collaborations, components, nodes, dependencies, generalizations, and associations.

在你建模某些事物的時候,建立的是現實的簡化版,以便你能更好地瞭解正開發的系統.使用UML,你建立的是你的模型的基本構建塊,如類群,介面群,互動群,元件群,節點群,依賴群,泛化群和關聯群.

Diagrams are the means by which you view these building blocks. A diagram is a graphical presentation of a set of elements, most often rendered as a connected graph of vertices (things) and arcs (relationships). You use diagrams to visualize your system from different perspectives. Because no complex system can be understood in its entirety from only one perspective, the UML defines a number of diagrams so that you can focus on different aspects of your system independently.

圖群是你認為這些構建塊代表的含義.一個圖是一組元素的圖形描述,通常表現為頂點(事物)和弧線(關係)的連通圖.你使用圖從不同的視角使你的系統視覺化,因為沒有複雜系統可以僅從一個角度瞭解它的全部,UML定義了大量的圖,這樣你就可以專注於你系統的不同獨立面.

Good diagrams make the system you are developing understandable and approachable. Choosing the right set of diagrams to model your system forces you to ask the right questions about your system and helps to illuminate the implications of your decisions.

好的圖群讓你開發中的系統易於理解和易於接近選擇對的圖集來建模你的系統,迫使你問關於你係統的正確問題和有助於闡明你所做決定的影響.