~aleteoryx/muditaos

ref: e433e8dd033c0212b6b906ee6ff5743f4994135e muditaos/module-apps/apps-common/notifications/doc/notifications_mvp_general_overview.svg -rw-r--r-- 16.6 KiB
e433e8dd — GravisZro Fix transparent backgrounds in PlantUML 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="380px" preserveAspectRatio="none" style="width:901px;height:380px;background:#F0F0F0;" version="1.1" viewBox="0 0 901 380" width="901px" zoomAndPan="magnify"><defs><filter height="300%" id="fqop3cuy4riy9" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--MD5=[5004d6500a09f74171c07b5db3ac5e34]
cluster provider--><polygon fill="#F0F0F0" filter="url(#fqop3cuy4riy9)" points="693,56.5,703,46.5,879,46.5,879,140.5,869,150.5,693,150.5,693,56.5" style="stroke: #000000; stroke-width: 1.5;"/><line style="stroke: #000000; stroke-width: 1.5;" x1="869" x2="878" y1="56.5" y2="47.5"/><line style="stroke: #000000; stroke-width: 1.5;" x1="693" x2="869" y1="56.5" y2="56.5"/><line style="stroke: #000000; stroke-width: 1.5;" x1="869" x2="869" y1="56.5" y2="150.5"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="67" x="748.5" y="72.4951">Provider</text><!--MD5=[5d4cd377749310b66bf14896f5cd8d9b]
cluster model--><polygon fill="#F0F0F0" filter="url(#fqop3cuy4riy9)" points="219,42,229,32,661,32,661,155,651,165,219,165,219,42" style="stroke: #000000; stroke-width: 1.5;"/><line style="stroke: #000000; stroke-width: 1.5;" x1="651" x2="660" y1="42" y2="33"/><line style="stroke: #000000; stroke-width: 1.5;" x1="219" x2="651" y1="42" y2="42"/><line style="stroke: #000000; stroke-width: 1.5;" x1="651" x2="651" y1="42" y2="165"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="47" x="412.5" y="57.9951">Model</text><!--MD5=[e320b41f2d43b11d6de1346cab4ea5fc]
cluster View--><polygon fill="#F0F0F0" filter="url(#fqop3cuy4riy9)" points="30,48.5,40,38.5,179,38.5,179,148.5,169,158.5,30,158.5,30,48.5" style="stroke: #000000; stroke-width: 1.5;"/><line style="stroke: #000000; stroke-width: 1.5;" x1="169" x2="178" y1="48.5" y2="39.5"/><line style="stroke: #000000; stroke-width: 1.5;" x1="30" x2="169" y1="48.5" y2="48.5"/><line style="stroke: #000000; stroke-width: 1.5;" x1="169" x2="169" y1="48.5" y2="158.5"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="39" x="81" y="64.4951">View</text><!--MD5=[72bec3090eb8c782b6549ec4e5d0b735]
class notProvider--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="48" id="notProvider" style="stroke: #A80036; stroke-width: 1.5;" width="154" x="709" y="86.5"/><ellipse cx="724" cy="102.5" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M726.9688,108.1406 Q726.3906,108.4375 725.75,108.5781 Q725.1094,108.7344 724.4063,108.7344 Q721.9063,108.7344 720.5781,107.0938 Q719.2656,105.4375 719.2656,102.3125 Q719.2656,99.1875 720.5781,97.5313 Q721.9063,95.875 724.4063,95.875 Q725.1094,95.875 725.75,96.0313 Q726.4063,96.1875 726.9688,96.4844 L726.9688,99.2031 Q726.3438,98.625 725.75,98.3594 Q725.1563,98.0781 724.5313,98.0781 Q723.1875,98.0781 722.5,99.1563 Q721.8125,100.2188 721.8125,102.3125 Q721.8125,104.4063 722.5,105.4844 Q723.1875,106.5469 724.5313,106.5469 Q725.1563,106.5469 725.75,106.2813 Q726.3438,106 726.9688,105.4219 L726.9688,108.1406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="122" x="738" y="106.6543">NotificationProvider</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="710" x2="862" y1="118.5" y2="118.5"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="710" x2="862" y1="126.5" y2="126.5"/><!--MD5=[715d280ee6ab1184a6a5b699e3d9d148]
class notModel--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="60.8047" id="notModel" style="stroke: #A80036; stroke-width: 1.5;" width="232" x="405" y="80"/><ellipse cx="459.25" cy="96" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M462.2188,101.6406 Q461.6406,101.9375 461,102.0781 Q460.3594,102.2344 459.6563,102.2344 Q457.1563,102.2344 455.8281,100.5938 Q454.5156,98.9375 454.5156,95.8125 Q454.5156,92.6875 455.8281,91.0313 Q457.1563,89.375 459.6563,89.375 Q460.3594,89.375 461,89.5313 Q461.6563,89.6875 462.2188,89.9844 L462.2188,92.7031 Q461.5938,92.125 461,91.8594 Q460.4063,91.5781 459.7813,91.5781 Q458.4375,91.5781 457.75,92.6563 Q457.0625,93.7188 457.0625,95.8125 Q457.0625,97.9063 457.75,98.9844 Q458.4375,100.0469 459.7813,100.0469 Q460.4063,100.0469 461,99.7813 Q461.5938,99.5 462.2188,98.9219 L462.2188,101.6406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="115" x="479.75" y="100.1543">NotificationsModel</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="406" x2="636" y1="112" y2="112"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="406" x2="636" y1="120" y2="120"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="220" x="411" y="134.2104">update(NotificationsChangedParams *)</text><!--MD5=[3f935a0430e8bc03b374e94689dc15f0]
class guiProv--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="48" id="guiProv" style="stroke: #A80036; stroke-width: 1.5;" width="107" x="262.5" y="86.5"/><ellipse cx="277.5" cy="102.5" fill="#B4A7E5" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M273.4219,98.2656 L273.4219,96.1094 L280.8125,96.1094 L280.8125,98.2656 L278.3438,98.2656 L278.3438,106.3438 L280.8125,106.3438 L280.8125,108.5 L273.4219,108.5 L273.4219,106.3438 L275.8906,106.3438 L275.8906,98.2656 L273.4219,98.2656 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="75" x="291.5" y="106.6543">gui::Provider</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="263.5" x2="368.5" y1="118.5" y2="118.5"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="263.5" x2="368.5" y1="126.5" y2="126.5"/><!--MD5=[bab795b3e255e4ea4a2af0f54c137233]
class ListView--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="48" id="ListView" style="stroke: #A80036; stroke-width: 1.5;" width="81" x="73.5" y="86.5"/><ellipse cx="88.5" cy="102.5" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M91.4688,108.1406 Q90.8906,108.4375 90.25,108.5781 Q89.6094,108.7344 88.9063,108.7344 Q86.4063,108.7344 85.0781,107.0938 Q83.7656,105.4375 83.7656,102.3125 Q83.7656,99.1875 85.0781,97.5313 Q86.4063,95.875 88.9063,95.875 Q89.6094,95.875 90.25,96.0313 Q90.9063,96.1875 91.4688,96.4844 L91.4688,99.2031 Q90.8438,98.625 90.25,98.3594 Q89.6563,98.0781 89.0313,98.0781 Q87.6875,98.0781 87,99.1563 Q86.3125,100.2188 86.3125,102.3125 Q86.3125,104.4063 87,105.4844 Q87.6875,106.5469 89.0313,106.5469 Q89.6563,106.5469 90.25,106.2813 Q90.8438,106 91.4688,105.4219 L91.4688,108.1406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="49" x="102.5" y="106.6543">ListView</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="74.5" x2="153.5" y1="118.5" y2="118.5"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="74.5" x2="153.5" y1="126.5" y2="126.5"/><!--MD5=[ab11aec9697a155806c72fa29b42d191]
class item--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="48" id="item" style="stroke: #A80036; stroke-width: 1.5;" width="151" x="177.5" y="201"/><ellipse cx="192.5" cy="217" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M195.4688,222.6406 Q194.8906,222.9375 194.25,223.0781 Q193.6094,223.2344 192.9063,223.2344 Q190.4063,223.2344 189.0781,221.5938 Q187.7656,219.9375 187.7656,216.8125 Q187.7656,213.6875 189.0781,212.0313 Q190.4063,210.375 192.9063,210.375 Q193.6094,210.375 194.25,210.5313 Q194.9063,210.6875 195.4688,210.9844 L195.4688,213.7031 Q194.8438,213.125 194.25,212.8594 Q193.6563,212.5781 193.0313,212.5781 Q191.6875,212.5781 191,213.6563 Q190.3125,214.7188 190.3125,216.8125 Q190.3125,218.9063 191,219.9844 Q191.6875,221.0469 193.0313,221.0469 Q193.6563,221.0469 194.25,220.7813 Q194.8438,220.5 195.4688,219.9219 L195.4688,222.6406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="119" x="206.5" y="221.1543">NotificationListItem</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="178.5" x2="327.5" y1="233" y2="233"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="178.5" x2="327.5" y1="241" y2="241"/><!--MD5=[70e2152219c9402cc0542a88b9ed3a27]
class params--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="48" id="params" style="stroke: #A80036; stroke-width: 1.5;" width="213" x="546.5" y="201"/><ellipse cx="561.5" cy="217" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M564.4688,222.6406 Q563.8906,222.9375 563.25,223.0781 Q562.6094,223.2344 561.9063,223.2344 Q559.4063,223.2344 558.0781,221.5938 Q556.7656,219.9375 556.7656,216.8125 Q556.7656,213.6875 558.0781,212.0313 Q559.4063,210.375 561.9063,210.375 Q562.6094,210.375 563.25,210.5313 Q563.9063,210.6875 564.4688,210.9844 L564.4688,213.7031 Q563.8438,213.125 563.25,212.8594 Q562.6563,212.5781 562.0313,212.5781 Q560.6875,212.5781 560,213.6563 Q559.3125,214.7188 559.3125,216.8125 Q559.3125,218.9063 560,219.9844 Q560.6875,221.0469 562.0313,221.0469 Q562.6563,221.0469 563.25,220.7813 Q563.8438,220.5 564.4688,219.9219 L564.4688,222.6406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="181" x="575.5" y="221.1543">NotificationsChangedParams</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="547.5" x2="758.5" y1="233" y2="233"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="547.5" x2="758.5" y1="241" y2="241"/><!--MD5=[f27077137eab0e82a7b59043e498cc27]
class system--><rect fill="#FEFECE" filter="url(#fqop3cuy4riy9)" height="60.8047" id="system" style="stroke: #A80036; stroke-width: 1.5;" width="118" x="594" y="309"/><ellipse cx="609" cy="325" fill="#B4A7E5" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M604.9219,320.7656 L604.9219,318.6094 L612.3125,318.6094 L612.3125,320.7656 L609.8438,320.7656 L609.8438,328.8438 L612.3125,328.8438 L612.3125,331 L604.9219,331 L604.9219,328.8438 L607.3906,328.8438 L607.3906,320.7656 L604.9219,320.7656 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="86" x="623" y="329.1543">APM Controller</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="595" x2="711" y1="341" y2="341"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="595" x2="711" y1="349" y2="349"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="82" x="600" y="363.2104">sendAction(...)</text><!--MD5=[cfad743fee11708f3a5e5aa5c8b6849e]
link notProvider to params--><path d="M742.67,134.5 C742.67,134.5 742.67,195.63 742.67,195.63 " fill="none" id="notProvider-&gt;params" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="742.67,200.63,746.67,191.63,742.67,195.63,738.67,191.63,742.67,200.63" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="705.6198" y="154.6558">use</text><!--MD5=[6e7f8f83508459cfb7a6998e8f8e9a85]
link notModel to params--><path d="M591.75,141.18 C591.75,141.18 591.75,195.76 591.75,195.76 " fill="none" id="notModel-&gt;params" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="591.75,200.76,595.75,191.76,591.75,195.76,587.75,191.76,591.75,200.76" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="580.4148" y="160.7959">use</text><!--MD5=[a98e56e4ca186e8db3036a71c6b5b870]
link notModel to item--><path d="M452.17,141.18 C452.17,175.1 452.17,225 452.17,225 C452.17,225 333.58,225 333.58,225 " fill="none" id="notModel-&gt;item" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="328.58,225,337.58,229,333.58,225,337.58,221,328.58,225" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="413.355" y="160.7959">use</text><!--MD5=[45d22c742d6ca4ee4ed0c669323ab99d]
link ListView to item--><path d="M154.54,129 C177.53,129 201.75,129 201.75,129 C201.75,129 201.75,195.78 201.75,195.78 " fill="none" id="ListView-&gt;item" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="201.75,200.78,205.75,191.78,201.75,195.78,197.75,191.78,201.75,200.78" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="162.5086" y="145.0583">use</text><!--MD5=[a2f20b68846aa24cad47924637d71002]
reverse link guiProv to notModel--><path d="M389.59,111 C389.59,111 404.93,111 404.93,111 " fill="none" id="guiProv&lt;-notModel" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="none" points="389.59,118,369.59,111,389.59,104,389.59,118" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[d1226cfbaa5780dbfbe69dc85b40e166]
link ListView to guiProv--><path d="M154.88,123 C154.88,123 257.15,123 257.15,123 " fill="none" id="ListView-&gt;guiProv" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="262.15,123,253.15,119,257.15,123,253.15,127,262.15,123" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="162.5733" y="120.811">use</text><!--MD5=[56cb9efb7196819d504bf43829945b14]
link guiProv to ListView--><path d="M262.4,118 C262.4,118 159.71,118 159.71,118 " fill="none" id="guiProv-&gt;ListView" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="154.71,118,163.71,122,159.71,118,163.71,114,154.71,118" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="231.4659" y="115.075">use</text><!--MD5=[df9263d49dbdfb2e675bf50546e3cf4a]
link notProvider to system--><path d="M811.25,134.63 C811.25,193.55 811.25,340 811.25,340 C811.25,340 717.38,340 717.38,340 " fill="none" id="notProvider-&gt;system" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="712.38,340,721.38,344,717.38,340,721.38,336,712.38,340" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="791.6016" y="154.4229">use</text><!--MD5=[ae59024bc5fade06f4c583ba815714fd]
link system to notModel--><path d="M593.59,340 C550.35,340 499.33,340 499.33,340 C499.33,340 499.33,146.45 499.33,146.45 " fill="none" id="system-&gt;notModel" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="499.33,141.45,495.33,150.45,499.33,146.45,503.33,150.45,499.33,141.45" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="23" x="562.8342" y="336.3192">use</text><!--MD5=[4bfc8cd5c990221cd6c2da8b316f9cad]
link model to View--><!--MD5=[6d4c19364a9a5f120976e898b31fda38]
link model to notProvider--><!--MD5=[b3883c7694b008f245271d3b3206b4cf]
@startuml
skinparam BackgroundColor F0F0F0
skinparam linetype ortho

node "Provider" as provider {
    class "NotificationProvider" as notProvider
}
node "Model" as model{
    class "NotificationsModel" as notModel{
        {method} update(NotificationsChangedParams *)
    }
    interface "gui::Provider" as guiProv
}
node View {
    class ListView
}
class "NotificationListItem" as item
class "NotificationsChangedParams" as params
interface "APM Controller" as system {
    {method} sendAction(...)
}

notProvider "use"- -> params
notModel "use"- ->params
notModel "use"- ->item
ListView "use"- ->item

guiProv <|-r- - notModel
ListView "use"- ->guiProv
guiProv "use"- ->ListView


notProvider "use"-d- ->system
system "use"- -> notModel

model -[hidden]r- View
model -[hidden]d- notProvider


@enduml

PlantUML version 1.2020.02(Sun Mar 01 05:22:07 EST 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.12+7-post-Debian-2
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>