Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

File:Facade Design Pattern Class Diagram UML.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 301 × 301 pixels, file size: 6 KB)

Summary

Description
English: A class diagram for the Facade design pattern. Vector reimplementation of a JPG original work by Vanderjoe.
Date
Source Own work
Author
Vector:
Other versions File:W3sDesign Facade Design Pattern UML.jpg

PlantUML source rendered to SVG with Kroki. Hand-edited, then converted to SVGTiny using svg2svgt. Source code:

@startuml

scale max 300 height

hide members
hide circle
hide stereotypes

skinparam Padding 10
skinparam package {
    Style Rectangle
    TitleAlignment right
    FontSize 12
}
skinparam class {
    BackgroundColor White
    BackgroundColor<<Facade>> #ffffaa/#ffffff
    BorderThickness 0.4
}

left footer
<i>Sample class diagram</i>
endfooter

Client =u=> Facade
interface Facade <<Facade>>

package Subsystem #ffffff {
    class .class_1 as "Class 1"
    class .class_1_d1 as "   "
    class .class_1_d2 as "   "
    .class_1 --> .class_1_d1
    .class_1 --> .class_1_d2

    class .class_2_d as "   "
    class .class_2 as "Class 2" extends .class_2_d

    class .class_3_d as "   "
    class .class_3 as "Class 3" extends .class_3_d

    .class_2 -[hidden]d-> .class_1_d1
    .class_3_d -[hidden]l-> .class_2_d
}
Facade --> class_2
Facade --> class_3
Facade --> class_1

@enduml

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

25 June 2020

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:17, 25 June 2020Thumbnail for version as of 12:17, 25 June 2020301 × 301 (6 KB)FeRDNYC{{Information |description ={{en|1=A class diagram for the Facade design pattern. Vector reimplementation of a JPG original work by {{U|Vanderjoe}}.}} |date =2020-06-25 |source ={{own}} |author ={{AutVec|v={{U|FeRDNYC}}|o={{U|Vanderjoe}}|3=Original}} |other versions=File:W3sDesign Facade Design Pattern UML.jpg }} PlantUML source rendered to SVG with Kroki. Hand-edited, then converted to SVGTiny using <code>svg2sv...

The following page uses this file:

Metadata