Understanding Diagrams [closed]

2019-01-07 23:07发布

I want to learn about Design Patterns and everywhere I see diagrams like this:

enter image description here

Is it UML or something else? I just need a quick reference to learn what do each of different lines mean? which one is inheritance, etc..

标签: c# uml
4条回答
冷血范
2楼-- · 2019-01-07 23:28

1 Yes it is UML. You can read more (with examples) about class diagrams and other UML diagrams e.g. at http://www.uml-diagrams.org/class-diagrams-overview.html

enter image description here

2 Although it is possible to Google out and print and pin up on your notice board some "UML cheat sheet" or "UML quick reference card" (e.g. http://www.holub.com/goodies/uml).

3 it is much better to first read a good book so that you know what is/is_not possible what is the structural/behavioral modeling etc. Explaining UML is not a thing that can be done on 1 single sheet of paper or in one single Stack Overflow answer

查看更多
啃猪蹄的小仙女
3楼-- · 2019-01-07 23:46

I recommend you to read UML superstructure specification. Read Classes section to get information about types of relationship applicable to structural diagrams defined in UML, and much more. This document is base document if you want to learn UML. Dowload it from this site UML Superstructure

查看更多
再贱就再见
4楼-- · 2019-01-07 23:47

Yes, is U.M.L.

You do can learn about applying Design Patterns, without getting into U.M.L., but, the original book, as well as, a lot of documentation uses U.M.L.

I suggest to learn about U.M.L., without Design Patterns, and later, learn about Design Patterns, with & without U.M.L.

Just my 2 cents.

查看更多
一纸荒年 Trace。
5楼-- · 2019-01-07 23:50

Here is a key that I found here

Image of connectors

***EDIT @xmojmr's request, here is an updated diagram that I found here (detailed definitions can be found in the linked page):

enter image description here

查看更多
登录 后发表回答