-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevLog.drawio
More file actions
831 lines (831 loc) · 76.6 KB
/
Copy pathDevLog.drawio
File metadata and controls
831 lines (831 loc) · 76.6 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
<mxfile host="Electron" agent="Codex" pages="8">
<diagram id="store-protocol-page" name="Store Protocol">
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="1280" pageHeight="600" background="none" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="sp-bg" parent="1" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;align=center;" value="" vertex="1">
<mxGeometry height="515" width="1160" x="50" y="35" as="geometry" />
</mxCell>
<mxCell id="sp-title" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=18;fontStyle=1;fontColor=#1F2328;" value="Store Protocol" vertex="1">
<mxGeometry height="28" width="320" x="480" y="50" as="geometry" />
</mxCell>
<mxCell id="sp-subtitle" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=13;fontStyle=0;fontColor=#6B7280;" value="ViewModel이 Store를 채택하고 send → reduce → run 순서로 상태와 SideEffect를 처리" vertex="1">
<mxGeometry height="20" width="700" x="290" y="80" as="geometry" />
</mxCell>
<mxCell id="sp-contract-bg" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#B8C4D6;strokeWidth=2;" value="" vertex="1">
<mxGeometry height="385" width="330" x="90" y="135" as="geometry" />
</mxCell>
<mxCell id="sp-contract-label" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#6B7280;" value="Protocol Contract" vertex="1">
<mxGeometry height="22" width="180" x="165" y="113" as="geometry" />
</mxCell>
<mxCell id="sp-flow-bg" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#B8C4D6;strokeWidth=2;" value="" vertex="1">
<mxGeometry height="385" width="700" x="470" y="135" as="geometry" />
</mxCell>
<mxCell id="sp-flow-label" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#6B7280;" value="Default Extension Flow" vertex="1">
<mxGeometry height="22" width="220" x="710" y="113" as="geometry" />
</mxCell>
<mxCell id="sp-store" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Presentation/Protocol/Store.swift" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=14;align=center;" value="<b>Store</b><br><span style="font-weight: normal;">@MainActor / AnyObject</span>" vertex="1">
<mxGeometry height="58" width="230" x="140" y="165" as="geometry" />
</mxCell>
<mxCell id="sp-types" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>State / Action / SideEffect</b><br><span style="font-weight: normal;">associatedtype contract</span>" vertex="1">
<mxGeometry height="58" width="230" x="140" y="275" as="geometry" />
</mxCell>
<mxCell id="sp-requirements" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=left;spacingLeft=16;" value="<b>Required API</b><br><span style="font-weight: normal;">state { get }<br>send(_ action)<br>reduce(with:) -&gt; [SideEffect]<br>run(_ effect)</span>" vertex="1">
<mxGeometry height="108" width="230" x="140" y="385" as="geometry" />
</mxCell>
<mxCell id="sp-edge-store-types" edge="1" parent="1" source="sp-store" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;" target="sp-types">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-types-requirements" edge="1" parent="1" source="sp-types" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;" target="sp-requirements">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="12PGK9UC77JnO6kUNPvJ-2" connectable="0" parent="1" style="group" value="" vertex="1">
<mxGeometry height="274" width="665" x="480" y="190.5" as="geometry" />
</mxCell>
<mxCell id="sp-view" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontSize=14;align=center;" value="<b>View</b><br><span style="font-weight: normal;">render state</span>" vertex="1">
<mxGeometry height="58" width="150" x="40" y="80" as="geometry" />
</mxCell>
<mxCell id="sp-action" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=14;align=center;" value="<b>Action</b><br><span style="font-weight: normal;">user event / next event</span>" vertex="1">
<mxGeometry height="58" width="170" x="265" as="geometry" />
</mxCell>
<mxCell id="sp-send" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Presentation/Protocol/Store.swift" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=14;align=center;" value="<b>send(_ action)</b><br><span style="font-weight: normal;">dispatch entry</span>" vertex="1">
<mxGeometry height="58" width="170" x="265" y="105" as="geometry" />
</mxCell>
<mxCell id="sp-reduce" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Presentation/Protocol/Store.swift" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=14;align=center;" value="<b>reduce(with:)</b><br><span style="font-weight: normal;">mutate state / return effects</span>" vertex="1">
<mxGeometry height="64" width="190" x="255" y="210" as="geometry" />
</mxCell>
<mxCell id="sp-state" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontSize=14;align=center;" value="<b>State</b><br><span style="font-weight: normal;">view data</span>" vertex="1">
<mxGeometry height="58" width="150" x="40" y="213" as="geometry" />
</mxCell>
<mxCell id="sp-sideeffect" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontSize=14;align=center;" value="<b>SideEffect</b><br><span style="font-weight: normal;">async / callback</span>" vertex="1">
<mxGeometry height="58" width="160" x="500" y="213" as="geometry" />
</mxCell>
<mxCell id="sp-run" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Presentation/Protocol/Store.swift" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=14;align=center;" value="<b>run(_ effect)</b><br><span style="font-weight: normal;">perform side effect</span>" vertex="1">
<mxGeometry height="58" width="160" x="500" y="105" as="geometry" />
</mxCell>
<mxCell id="sp-effect-result" parent="12PGK9UC77JnO6kUNPvJ-2" style="rounded=1;arcSize=16;whiteSpace=wrap;html=1;fillColor=#F7F9FC;strokeColor=#D8E0EA;strokeWidth=2;fontColor=#4B5563;fontSize=13;fontStyle=0;align=center;" value="effect result<br>Task / network / timer / callback" vertex="1">
<mxGeometry height="58" width="170" x="495" as="geometry" />
</mxCell>
<mxCell id="sp-edge-view-action" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-view" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;align=center;edgeStyle=orthogonalEdgeStyle;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="sp-action">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-action-send" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-action" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;" target="sp-send">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-send-reduce" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-send" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;" target="sp-reduce">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-reduce-state" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-reduce" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;edgeStyle=orthogonalEdgeStyle;" target="sp-state">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-state-view" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-state" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;align=center;edgeStyle=orthogonalEdgeStyle;" target="sp-view">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint y="244" />
<mxPoint y="109" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="sp-edge-reduce-sideeffect" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-reduce" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;align=center;" target="sp-sideeffect">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-sideeffect-run" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-sideeffect" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;" target="sp-run">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-run-result" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-run" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;align=center;" target="sp-effect-result">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sp-edge-result-action" edge="1" parent="12PGK9UC77JnO6kUNPvJ-2" source="sp-effect-result" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;align=center;edgeStyle=orthogonalEdgeStyle;" target="sp-action">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="delete-flow-page" name="Delete Undo Flow">
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="1280" pageHeight="600" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="du-client" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListViewModel.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=13;align=center;" value="<b>iOS Client</b><br><span style="font-weight: normal;">즉시 숨김, Undo UI<br>실패 시 복구</span>" vertex="1">
<mxGeometry height="60" width="190" x="105" y="100" as="geometry" />
</mxCell>
<mxCell id="du-functions" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/notification/deletion.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=2;fontColor=#14532D;fontSize=13;align=center;" value="<b>Cloud Functions</b><br><span style="font-weight: normal;">삭제, Undo 상태 처리</span>" vertex="1">
<mxGeometry height="60" width="190" x="395" y="100" as="geometry" />
</mxCell>
<mxCell id="du-firestore" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/notification/deletion.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#64748B;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Firestore</b><br><span style="font-weight: normal;">알림 삭제 상태</span>" vertex="1">
<mxGeometry height="60" width="190" x="690" y="100" as="geometry" />
</mxCell>
<mxCell id="du-scheduler" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/notification/cleanup.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FEF3C7;strokeColor=#F59E0B;strokeWidth=2;fontColor=#78350F;fontSize=13;align=center;" value="<b>Scheduler</b><br><span style="font-weight: normal;">soft delete 정리</span>" vertex="1">
<mxGeometry height="60" width="190" x="985" y="100" as="geometry" />
</mxCell>
<mxCell id="du-client-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="200" y="160" as="sourcePoint" />
<mxPoint x="200" y="520" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-functions-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="160" as="sourcePoint" />
<mxPoint x="490" y="520" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-firestore-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="785" y="160" as="sourcePoint" />
<mxPoint x="785" y="520" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-scheduler-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1080" y="160" as="sourcePoint" />
<mxPoint x="1080" y="520" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-legend" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;fontColor=#334155;fontSize=12;align=left;spacingLeft=14;" value="<b>화살표 의미</b><br><font color="#0A84FF">■</font> 삭제 요청<br><font color="#16A34A">■</font> 삭제 상태 저장<br><font color="#7C3AED">■</font> Undo 복구<br><font color="#F59E0B">■</font> soft delete 정리" vertex="1">
<mxGeometry height="100" width="120" x="1020" y="200" as="geometry" />
</mxCell>
<mxCell id="du-delete-request" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="삭제 요청">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="200" y="270" as="sourcePoint" />
<mxPoint x="490" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-delete-store" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="isDeleted = true">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="490" y="315" as="sourcePoint" />
<mxPoint x="785" y="315" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-undo-request" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="Undo 요청">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="200" y="390" as="sourcePoint" />
<mxPoint x="490" y="390" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-undo-store" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="isDeleted = false">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="490" y="435" as="sourcePoint" />
<mxPoint x="785" y="435" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="du-cleanup-request" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#F59E0B;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="soft delete 문서 정리">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="1080" y="485" as="sourcePoint" />
<mxPoint x="785" y="485" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="todo-reminder-validation-flow-page" name="Todo Reminder Validation Flow">
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="1280" pageHeight="600" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="trv-client" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogInfra/Sources/Service/UserServiceImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=13;align=center;" value="<b>iOS Client</b><br><span style="font-weight: normal;">시간대, 알림 설정</span>" vertex="1">
<mxGeometry height="60" width="160" x="55" y="90" as="geometry" />
</mxCell>
<mxCell id="trv-firestore" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/common/firestorePath.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#64748B;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Firestore</b><br><span style="font-weight: normal;">설정, Todo 상태</span>" vertex="1">
<mxGeometry height="60" width="160" x="260" y="90" as="geometry" />
</mxCell>
<mxCell id="trv-batch" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/fcm/schedule.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#64748B;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Scheduler</b><br><span style="font-weight: normal;">대상 재계산</span>" vertex="1">
<mxGeometry height="60" width="160" x="465" y="90" as="geometry" />
</mxCell>
<mxCell id="trv-queue" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/fcm/schedule.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#ECFEFF;strokeColor=#0891B2;strokeWidth=2;fontColor=#164E63;fontSize=13;align=center;" value="<b>Cloud Tasks</b><br><span style="font-weight: normal;">발송 큐</span>" vertex="1">
<mxGeometry height="60" width="160" x="670" y="90" as="geometry" />
</mxCell>
<mxCell id="trv-sender" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/fcm/notification.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=2;fontColor=#14532D;fontSize=13;align=center;" value="<b>Send Function</b><br><span style="font-weight: normal;">발송 전 검증</span>" vertex="1">
<mxGeometry height="60" width="160" x="875" y="90" as="geometry" />
</mxCell>
<mxCell id="trv-fcm" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Firebase/functions/src/fcm/notification.ts" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F5F3FF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>FCM</b><br><span style="font-weight: normal;">푸시 발송</span>" vertex="1">
<mxGeometry height="60" width="160" x="1080" y="90" as="geometry" />
</mxCell>
<mxCell id="trv-client-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="135" y="150" as="sourcePoint" />
<mxPoint x="135" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-firestore-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="340" y="150" as="sourcePoint" />
<mxPoint x="340" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-batch-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="545" y="150" as="sourcePoint" />
<mxPoint x="545" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-queue-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="750" y="150" as="sourcePoint" />
<mxPoint x="750" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-sender-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="955" y="150" as="sourcePoint" />
<mxPoint x="955" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-fcm-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1160" y="150" as="sourcePoint" />
<mxPoint x="1160" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-save-setting" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="시간대, 알림 설정 저장">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="135" y="210" as="sourcePoint" />
<mxPoint x="340" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-read-state" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#64748B;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="최신 설정, Todo 조회">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="545" y="270" as="sourcePoint" />
<mxPoint x="340" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-enqueue" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0891B2;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="대상 재계산, 작업 적재">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="545" y="330" as="sourcePoint" />
<mxPoint x="750" y="330" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-dispatch" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0891B2;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="발송 시점 도달">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="750" y="380" as="sourcePoint" />
<mxPoint x="955" y="380" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-validate" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="발송 시점 재검증">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="955" y="430" as="sourcePoint" />
<mxPoint x="340" y="430" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-send" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="조건 일치 시 발송">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="955" y="480" as="sourcePoint" />
<mxPoint x="1160" y="480" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="trv-legend" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;fontColor=#334155;fontSize=12;align=left;spacingLeft=14;" value="<b>화살표 의미</b><br><font color="#0A84FF">■</font> 설정 저장<br><font color="#64748B">■</font> 최신 기준 조회<div><font color="#0891B2">■</font> 재계산·큐 적재<br><font color="#16A34A">■</font> 발송 전 검증·발송</div>" vertex="1">
<mxGeometry height="100" width="135" x="1092.5" y="170" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="webpage-image-restore-page" name="WebPage Image Restore Flow">
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="1280" pageHeight="600" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="web-img-fetch" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogData/Sources/Repository/WebPageRepositoryImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=13;align=center;" value="<b>WebPage Fetch</b><br><span style="font-weight: normal;">목록 조회</span>" vertex="1">
<mxGeometry height="60" width="170" x="70" y="90" as="geometry" />
</mxCell>
<mxCell id="web-img-firestore" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogInfra/Sources/Service/WebPageServiceImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#64748B;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Firestore</b><br><span style="font-weight: normal;">WebPage, imageURL</span>" vertex="1">
<mxGeometry height="60" width="170" x="300" y="90" as="geometry" />
</mxCell>
<mxCell id="web-img-cache" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogPersistence/Sources/Persistence/WebPageImageStoreImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#ECFEFF;strokeColor=#0891B2;strokeWidth=2;fontColor=#0E3B43;fontSize=13;align=center;" value="<b>Local Cache</b><br><span style="font-weight: normal;">경로, 이미지 검증</span>" vertex="1">
<mxGeometry height="60" width="170" x="530" y="90" as="geometry" />
</mxCell>
<mxCell id="web-img-metadata" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogInfra/Sources/Service/WebPageMetadataServiceImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=2;fontColor=#14532D;fontSize=13;align=center;" value="<b>Metadata Fetch</b><br><span style="font-weight: normal;">썸네일 복구</span>" vertex="1">
<mxGeometry height="60" width="170" x="760" y="90" as="geometry" />
</mxCell>
<mxCell id="web-img-result" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F5F3FF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#2E1065;fontSize=13;align=center;" value="<b>WebPage List</b><br><span style="font-weight: normal;">복구 결과 반환</span>" vertex="1">
<mxGeometry height="60" width="170" x="990" y="90" as="geometry" />
</mxCell>
<mxCell id="web-img-fetch-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="155" y="150" as="sourcePoint" />
<mxPoint x="155" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-firestore-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="385" y="150" as="sourcePoint" />
<mxPoint x="385" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-cache-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="615" y="150" as="sourcePoint" />
<mxPoint x="615" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-metadata-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="845" y="150" as="sourcePoint" />
<mxPoint x="845" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-result-line" edge="1" parent="1" style="html=1;endArrow=none;dashed=1;strokeColor=#94A3B8;strokeWidth=2;" value="">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1075" y="150" as="sourcePoint" />
<mxPoint x="1075" y="515" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-read" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="저장된 WebPage 조회">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="155" y="210" as="sourcePoint" />
<mxPoint x="385" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-check" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0891B2;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="로컬 file URL 검증">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="385" y="280" as="sourcePoint" />
<mxPoint x="615" y="280" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-restore" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="검증 실패 시 재수집">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="615" y="350" as="sourcePoint" />
<mxPoint x="845" y="350" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-update" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="복구된 imageURL 갱신">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="845" y="410" as="sourcePoint" />
<mxPoint x="385" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-return" edge="1" parent="1" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;" value="복구 결과 또는 이미지 없는 항목 반환">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
<mxPoint x="155" y="480" as="sourcePoint" />
<mxPoint x="1075" y="480" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="web-img-legend" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;fontColor=#334155;fontSize=12;align=left;spacingLeft=14;" value="<b>화살표 의미</b><br><font color="#0A84FF">■</font> WebPage 목록 조회<br><font color="#0891B2">■</font> 이미지 URL 검증<br><font color="#16A34A">■</font> 이미지 복구·문서 갱신<br><font color="#7C3AED">■</font> 복구 결과 반환" vertex="1">
<mxGeometry height="100" width="150" x="1000" y="170" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="main-tab-fetch-trigger-flow-page" name="Main Tab Fetch Trigger Flow">
<mxGraphModel dx="1571" dy="944" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1480" pageHeight="560" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="main-tab-root" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=14;align=center;container=0;" value="범용 UI<br>NavigationSplitView" vertex="1">
<mxGeometry height="64" width="220" x="395" y="105" as="geometry" />
</mxCell>
<mxCell id="main-tab-tree-root-container" edge="1" parent="1" source="main-tab-root" style="endArrow=none;html=1;rounded=1;strokeColor=#94A3B8;strokeWidth=2;" target="main-tab-container">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="main-tab-tree-container-home" edge="1" parent="1" source="main-tab-container" style="endArrow=none;html=1;rounded=1;strokeColor=#94A3B8;strokeWidth=2;" target="main-tab-home">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="505" y="315" />
<mxPoint x="190" y="315" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="main-tab-tree-container-today" edge="1" parent="1" source="main-tab-container" style="endArrow=none;html=1;rounded=1;strokeColor=#94A3B8;strokeWidth=2;" target="main-tab-today">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="505" y="315" />
<mxPoint x="400" y="315" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="main-tab-tree-container-notification" edge="1" parent="1" source="main-tab-container" style="endArrow=none;html=1;rounded=1;strokeColor=#94A3B8;strokeWidth=2;" target="main-tab-notification">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="505" y="315" />
<mxPoint x="610" y="315" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="main-tab-tree-container-profile" edge="1" parent="1" source="main-tab-container" style="endArrow=none;html=1;rounded=1;strokeColor=#94A3B8;strokeWidth=2;" target="main-tab-profile">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="505" y="315" />
<mxPoint x="820" y="315" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="main-tab-home-before-trigger" edge="1" parent="1" source="main-tab-home" style="endArrow=none;html=1;rounded=1;dashed=1;strokeColor=#E11D48;strokeWidth=2;" target="main-tab-before-trigger">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="main-tab-today-before-trigger" edge="1" parent="1" source="main-tab-today" style="endArrow=none;html=1;rounded=1;dashed=1;strokeColor=#E11D48;strokeWidth=2;" target="main-tab-before-trigger">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="main-tab-notification-before-trigger" edge="1" parent="1" source="main-tab-notification" style="endArrow=none;html=1;rounded=1;dashed=1;strokeColor=#E11D48;strokeWidth=2;" target="main-tab-before-trigger">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="main-tab-profile-before-trigger" edge="1" parent="1" source="main-tab-profile" style="endArrow=none;html=1;rounded=1;dashed=1;strokeColor=#E11D48;strokeWidth=2;" target="main-tab-before-trigger">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="main-tab-before-trigger" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFF1F2;strokeColor=#E11D48;strokeWidth=2;fontColor=#BE123C;fontStyle=1;fontSize=13;align=center;container=0;" value="각 탭 화면 onAppear" vertex="1">
<mxGeometry height="52" width="260" x="375" y="438" as="geometry" />
</mxCell>
<mxCell id="main-tab-before-fetch" edge="1" parent="1" source="main-tab-before-trigger" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#E11D48;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;fontColor=#BE123C;edgeStyle=orthogonalEdgeStyle;" target="main-tab-network" value="화면 재구성 시 재요청">
<mxGeometry relative="1" x="-0.2869" as="geometry">
<mxPoint as="offset" />
<Array as="points">
<mxPoint x="760" y="464" />
<mxPoint x="1115" y="464" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="main-tab-after-container-fetch" edge="1" parent="1" source="main-tab-container" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;labelBackgroundColor=#FFFFFF;fontSize=12;fontColor=#15803D;" target="main-tab-network" value="탭 선택 이벤트">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="780" y="247" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="main-tab-legend" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;fontColor=#334155;fontSize=12;align=left;spacingLeft=14;spacingTop=10;container=0;" value="<b>화살표 의미</b><br><font color="#E11D48">■</font> Before: 화면 재구성 시 재요청<br><font color="#16A34A">■</font> After: 탭 컨테이너가 선택된 탭 요청 제어" vertex="1">
<mxGeometry height="68" width="250" x="930" y="105" as="geometry" />
</mxCell>
<mxCell id="main-tab-home" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=14;align=center;container=0;" value="HomeView" vertex="1">
<mxGeometry height="58" width="180" x="100" y="350" as="geometry" />
</mxCell>
<mxCell id="main-tab-today" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=14;align=center;container=0;" value="TodayView" vertex="1">
<mxGeometry height="58" width="180" x="310" y="350" as="geometry" />
</mxCell>
<mxCell id="main-tab-notification" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=14;align=center;container=0;" value="PushNotificationListView" vertex="1">
<mxGeometry height="58" width="180" x="520" y="350" as="geometry" />
</mxCell>
<mxCell id="main-tab-profile" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=14;align=center;container=0;" value="ProfileView" vertex="1">
<mxGeometry height="58" width="180" x="730" y="350" as="geometry" />
</mxCell>
<mxCell id="main-tab-network" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#475569;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=14;align=center;container=0;" value="네트워크 요청<br>선택된 탭 데이터 조회" vertex="1">
<mxGeometry height="76" width="210" x="1010" y="209" as="geometry" />
</mxCell>
<mxCell id="main-tab-container" parent="1" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EFF6FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontStyle=1;fontSize=14;align=center;container=0;" value="탭 컨테이너<br>탭 선택 상태 관리" vertex="1">
<mxGeometry height="64" width="220" x="395" y="215" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="todo-representative-flow-page" name="Todo Representative Flow">
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="827" pageHeight="1169" background="none" math="0" shadow="0">
<root>
<mxCell id="500" />
<mxCell id="501" parent="500" />
<mxCell id="502" parent="501" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;" value="" vertex="1">
<mxGeometry height="268" width="1075" x="45" y="52" as="geometry" />
</mxCell>
<mxCell id="503" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=18;fontStyle=1;fontColor=#1F2328;" value="ex: Todo Representative Flow" vertex="1">
<mxGeometry height="28" width="340" x="412.5" y="52" as="geometry" />
</mxCell>
<mxCell id="505" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#6B7280;" value="Presentation" vertex="1">
<mxGeometry height="20" width="140" x="90" y="112" as="geometry" />
</mxCell>
<mxCell id="506" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#6B7280;" value="Domain" vertex="1">
<mxGeometry height="20" width="140" x="395" y="112" as="geometry" />
</mxCell>
<mxCell id="507" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#6B7280;" value="Data" vertex="1">
<mxGeometry height="20" width="140" x="690" y="116" as="geometry" />
</mxCell>
<mxCell id="508" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#6B7280;" value="Infra" vertex="1">
<mxGeometry height="20" width="140" x="945" y="112" as="geometry" />
</mxCell>
<mxCell id="509" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Presentation/ViewModel/TodoDetailViewModel.swift" parent="501" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontStyle=1;fontSize=16;align=center;" value="TodoDetailViewModel" vertex="1">
<mxGeometry height="62" width="170" x="75" y="138" as="geometry" />
</mxCell>
<mxCell id="510" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=12;fontColor=#6B7280;" value="화면 상태 생성" vertex="1">
<mxGeometry height="18" width="130" x="95" y="282" as="geometry" />
</mxCell>
<mxCell id="511" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Domain/UseCase/Todo/Fetch/FetchTodoByIDUseCaseImpl.swift" parent="501" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=16;align=center;" value="<font>FetchTodoByIDUseCase</font>" vertex="1">
<mxGeometry height="62" width="240" x="340" y="138" as="geometry" />
</mxCell>
<mxCell id="512" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=12;fontColor=#6B7280;" value="도메인 규칙 적용" vertex="1">
<mxGeometry height="18" width="130" x="395" y="282" as="geometry" />
</mxCell>
<mxCell id="513" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Data/Repository/TodoRepositoryImpl.swift" parent="501" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontStyle=1;fontSize=16;align=center;" value="TodoRepository" vertex="1">
<mxGeometry height="62" width="170" x="675" y="138" as="geometry" />
</mxCell>
<mxCell id="514" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=12;fontColor=#6B7280;" value="데이터 해석 / 변환" vertex="1">
<mxGeometry height="18" width="140" x="687" y="282" as="geometry" />
</mxCell>
<mxCell id="515" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/DevLog/Infra/Service/TodoService.swift" parent="501" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#A7B4C6;strokeWidth=2;fontColor=#1F2328;fontStyle=1;fontSize=16;align=center;" value="TodoService" vertex="1">
<mxGeometry height="62" width="150" x="940" y="138" as="geometry" />
</mxCell>
<mxCell id="516" parent="501" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=12;fontColor=#6B7280;" value="Firestore 접근" vertex="1">
<mxGeometry height="18" width="120" x="940" y="282" as="geometry" />
</mxCell>
<mxCell id="519" edge="1" parent="501" source="509" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="511">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="520" edge="1" parent="501" source="511" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="513">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="521" edge="1" parent="501" source="513" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="515">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="522" edge="1" parent="501" source="515" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" target="513">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1015" y="280" />
<mxPoint x="760" y="280" />
</Array>
<mxPoint x="1025" y="154" as="sourcePoint" />
<mxPoint x="770" y="158" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="523" edge="1" parent="501" source="513" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" target="511">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="760" y="280" />
<mxPoint x="460" y="280" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="524" edge="1" parent="501" source="511" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#5E6AD2;strokeWidth=3;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" target="509">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="460" y="280" />
<mxPoint x="160" y="280" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="butterfly-architecture-page" name="App Architecture">
<mxGraphModel dx="1571" dy="944" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="2000" pageHeight="1040" background="none" math="0" shadow="0">
<root>
<mxCell id="400" />
<mxCell id="401" parent="400" />
<mxCell id="app-bg" parent="401" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;align=center;container=0;" value="" vertex="1">
<mxGeometry height="900" width="1510" x="30" y="30" as="geometry" />
</mxCell>
<mxCell id="app-title" parent="401" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=18;fontStyle=1;fontColor=#1F2328;container=0;" value="App Architecture" vertex="1">
<mxGeometry height="30" width="420" x="575" y="48" as="geometry" />
</mxCell>
<mxCell id="app-subtitle" parent="401" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#6B7280;container=0;" value="모듈 간 import / target dependency 방향을 기준으로 정리한 구조" vertex="1">
<mxGeometry height="20" width="870" x="350" y="78" as="geometry" />
</mxCell>
<mxCell id="domain-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogDomain" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogDomain</b><br><span style="font-weight: normal;">Entity / UseCase / Protocol</span>" vertex="1">
<mxGeometry height="70" width="250" x="265.5" y="605" as="geometry" />
</mxCell>
<mxCell id="edge-app-domain" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="domain-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="340" y="265" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-presentation-domain" edge="1" parent="401" source="presentation-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#0284C7;strokeWidth=3;align=center;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;curved=1;" target="domain-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="320" y="535" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-domain-core" edge="1" parent="401" source="domain-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;align=center;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" target="core-node">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="edge-data-domain" edge="1" parent="401" source="data-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#D97706;strokeWidth=3;align=center;entryX=0.75;entryY=0;entryDx=0;entryDy=0;curved=1;" target="domain-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="460" y="535" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="app-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogApp" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#1D4ED8;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogApp</b><br><span style="font-weight: normal;">Composition root / Assembler</span>" vertex="1">
<mxGeometry height="70" width="250" x="550" y="135" as="geometry" />
</mxCell>
<mxCell id="presentation-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogPresentation" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#E0F2FE;strokeColor=#0284C7;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogPresentation</b><br><span style="font-weight: normal;">SwiftUI / Store / ViewModel</span>" vertex="1">
<mxGeometry height="70" width="250" x="75.5" y="425" as="geometry" />
</mxCell>
<mxCell id="data-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogData" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FEF3C7;strokeColor=#D97706;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogData</b><br><span style="font-weight: normal;">Repository impl / DTO / Mapper</span>" vertex="1">
<mxGeometry height="70" width="250" x="405.5" y="425" as="geometry" />
</mxCell>
<mxCell id="infra-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogInfra" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#FCE7F3;strokeColor=#DB2777;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogInfra</b><br><span style="font-weight: normal;">Firebase / Network / Metadata</span>" vertex="1">
<mxGeometry height="70" width="250" x="660" y="275" as="geometry" />
</mxCell>
<mxCell id="widget-core-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Widget/DevLogWidgetCore" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#ECFCCB;strokeColor=#65A30D;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogWidgetCore</b><br><span style="font-weight: normal;">Snapshot models / Factories</span>" vertex="1">
<mxGeometry height="70" width="250" x="1110" y="605" as="geometry" />
</mxCell>
<mxCell id="core-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogCore" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#64748B;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogCore</b><br><span style="font-weight: normal;">DI / Logger / Shared values</span>" vertex="1">
<mxGeometry height="70" width="250" x="550" y="835" as="geometry" />
</mxCell>
<mxCell id="persistence-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Application/DevLogPersistence" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#F3E8FF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogPersistence</b><br><span style="font-weight: normal;">Local stores / Snapshot persistence</span>" vertex="1">
<mxGeometry height="70" width="250" x="960" y="275" as="geometry" />
</mxCell>
<mxCell id="widget-extension-node" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Widget/DevLogWidgetExtension" parent="401" style="rounded=1;arcSize=18;whiteSpace=wrap;html=1;fillColor=#CCFBF1;strokeColor=#0D9488;strokeWidth=2;fontColor=#000000;fontSize=14;align=center;container=0;" value="<b>DevLogWidgetExtension</b><br><span style="font-weight: normal;">WidgetKit UI / Provider</span>" vertex="1">
<mxGeometry height="70" width="250" x="1260" y="275" as="geometry" />
</mxCell>
<mxCell id="edge-app-presentation" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="presentation-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="240" y="255" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-app-data" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="data-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="540" y="295" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-infra-data" edge="1" parent="401" source="infra-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#DB2777;strokeWidth=3;align=center;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;curved=1;" target="data-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="730" y="435" />
</Array>
<mxPoint x="680" y="395" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="edge-app-infra" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="infra-node">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="edge-app-widget-core" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="widget-core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1235" y="205" />
<mxPoint x="1230" y="365" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-widget-core-core" edge="1" parent="401" source="widget-core-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#65A30D;strokeWidth=3;align=center;curved=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1150" y="865" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-app-core" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;curved=1;" target="core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="40" y="220" />
<mxPoint x="80" y="840" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-presentation-core" edge="1" parent="401" source="presentation-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#0284C7;strokeWidth=3;align=center;exitX=0.5;exitY=1;exitDx=0;exitDy=0;curved=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" target="core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="180" y="845" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-data-core" edge="1" parent="401" source="data-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#D97706;strokeWidth=3;align=center;curved=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="560" y="685" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-infra-core" edge="1" parent="401" source="infra-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#DB2777;strokeWidth=3;align=center;exitX=0.5;exitY=1;exitDx=0;exitDy=0;curved=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" target="core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="780" y="635" />
</Array>
<mxPoint x="690" y="825" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="edge-persistence-data" edge="1" parent="401" source="persistence-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#7C3AED;strokeWidth=3;align=center;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;curved=1;" target="data-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="870" y="455" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-persistence-widget-core" edge="1" parent="401" source="persistence-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#7C3AED;strokeWidth=3;align=center;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;curved=1;" target="widget-core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1148" y="495" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-persistence-core" edge="1" parent="401" source="persistence-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#7C3AED;strokeWidth=3;align=center;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;curved=1;" target="core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="940" y="665" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-app-persistence" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="persistence-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1010" y="205" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-widget-extension-widget-core" edge="1" parent="401" source="widget-extension-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#0D9488;strokeWidth=3;align=center;curved=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="widget-core-node">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1385" y="485" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="edge-app-widget-extension" edge="1" parent="401" source="app-node" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=0;strokeColor=#1D4ED8;strokeWidth=3;align=center;curved=1;dashed=1;dashPattern=6 6;fontColor=#000000;fontSize=12;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="widget-extension-node" value="Embed">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1370" y="165" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="widget-architecture-page" name="Widget Architecture">
<mxGraphModel dx="1488" dy="895" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1500" pageHeight="480" background="none" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="w-data-bg" parent="1" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D8E0EA;strokeWidth=2;align=center;" value="" vertex="1">
<mxGeometry height="420" width="1450" x="30" y="30" as="geometry" />
</mxCell>
<mxCell id="w-title" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=18;fontStyle=1;fontColor=#1F2328;container=0;" value="Widget Architecture" vertex="1">
<mxGeometry height="28" width="360" x="575" y="48" as="geometry" />
</mxCell>
<mxCell id="w-subtitle" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=13;fontStyle=0;fontColor=#6B7280;container=0;" value="앱 런타임에서 Snapshot을 생성해 App Group에 저장하고 위젯 확장이 저장된 Snapshot만 소비" vertex="1">
<mxGeometry height="20" width="820" x="345" y="78" as="geometry" />
</mxCell>
<mxCell id="w-service" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogInfra/Sources/Service/TodoServiceImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#64748B;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>DevLogInfra</b><br><span style="font-weight: normal;">TodoServiceImpl / Firestore</span>" vertex="1">
<mxGeometry height="66" width="150" x="50" y="146" as="geometry" />
</mxCell>
<mxCell id="w-repository" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogData/Sources/Repository/TodoRepositoryImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#64748B;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>DevLogData</b><br><span style="font-weight: normal;">TodoRepositoryImpl</span>" vertex="1">
<mxGeometry height="66" width="150" x="344" y="146" as="geometry" />
</mxCell>
<mxCell id="w-handler" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogData/Sources/Widget/WidgetSyncEventHandler.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=13;align=center;" value="<b>WidgetSyncEventHandler</b><br><span style="font-weight: normal;">Today / Heatmap query</span>" vertex="1">
<mxGeometry height="70" width="180" x="638" y="144" as="geometry" />
</mxCell>
<mxCell id="w-updater" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogPersistence/Sources/Widget/WidgetSnapshotUpdaterImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#EAF2FF;strokeColor=#0A84FF;strokeWidth=2;fontColor=#0B1F33;fontSize=13;align=center;" value="<b>WidgetSnapshotUpdater</b><br><span style="font-weight: normal;">DevLogPersistence</span>" vertex="1">
<mxGeometry height="70" width="174" x="962" y="144" as="geometry" />
</mxCell>
<mxCell id="w-factory" link="https://github.com/opficdev/SwiftUI_DevLog/tree/main/Widget/DevLogWidgetCore/Sources" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#0A84FF;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>DevLogWidgetCore</b><br><span style="font-weight: normal;">Snapshot factory / keys</span>" vertex="1">
<mxGeometry height="78" width="166" x="1280" y="140" as="geometry" />
</mxCell>
<mxCell id="w-appgroup" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Widget/DevLogWidgetCore/Sources/Common/WidgetSharedDefaultsStore.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=2;fontColor=#14532D;fontSize=13;align=center;" value="<b>App Group UserDefaults</b><br><span style="font-weight: normal;">JSON snapshot data</span>" vertex="1">
<mxGeometry height="62" width="166" x="1280" y="348" as="geometry" />
</mxCell>
<mxCell id="w-preference" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Application/DevLogPersistence/Sources/Widget/WidgetSnapshotPreferenceStoreImpl.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#ECFEFF;strokeColor=#0891B2;strokeWidth=2;fontColor=#164E63;fontSize=13;align=center;" value="<b>Display Preferences</b><br><span style="font-weight: normal;">Today / Heatmap options</span>" vertex="1">
<mxGeometry height="60" width="210" x="944" y="260" as="geometry" />
</mxCell>
<mxCell id="w-widget-store" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Widget/DevLogWidgetExtension/Common/WidgetSnapshotStore.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F5F3FF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Snapshot Reader</b><br><span style="font-weight: normal;">read shared snapshot</span>" vertex="1">
<mxGeometry height="62" width="166" x="970" y="348" as="geometry" />
</mxCell>
<mxCell id="w-provider" link="https://github.com/opficdev/SwiftUI_DevLog/blob/main/Widget/DevLogWidgetExtension/Today/TodayTodoWidgetProvider.swift" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F5F3FF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Widget Timeline</b><br><span style="font-weight: normal;">make entry</span>" vertex="1">
<mxGeometry height="62" width="170" x="656" y="348" as="geometry" />
</mxCell>
<mxCell id="w-entry" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Widget Entry</b><br><span style="font-weight: normal;">snapshot state</span>" vertex="1">
<mxGeometry height="58" width="150" x="362" y="350" as="geometry" />
</mxCell>
<mxCell id="w-entry-view" parent="1" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#7C3AED;strokeWidth=2;fontColor=#1F2328;fontSize=13;align=center;" value="<b>Widget View</b><br><span style="font-weight: normal;">render / deep link</span>" vertex="1">
<mxGeometry height="58" width="150" x="68" y="350" as="geometry" />
</mxCell>
<mxCell id="w-data-note" parent="1" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#F8FAFC;strokeColor=#D8E0EA;strokeWidth=1;fontColor=#374151;fontSize=12;align=left;spacingLeft=10;" value="위젯 확장은 Domain/Data/Infra/Persistence를 직접 참조하지 않습니다.<div>WidgetCore의 Snapshot 계약과 App Group UserDefaults에 저장된 JSON만 읽어 화면을 구성합니다.</div>" vertex="1">
<mxGeometry height="52" width="530" x="50" y="260" as="geometry" />
</mxCell>
<mxCell id="wd-1" edge="1" parent="1" source="w-service" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="w-repository" value="service data">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-2" edge="1" parent="1" source="w-repository" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="w-handler" value="TodoRepository">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-3" edge="1" parent="1" source="w-handler" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="w-updater" value="widget input">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-4" edge="1" parent="1" source="w-updater" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0A84FF;strokeWidth=3;" target="w-factory" value="factory">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-5" edge="1" parent="1" source="w-factory" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#16A34A;strokeWidth=3;" target="w-appgroup" value="save JSON">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-6" edge="1" parent="1" source="w-preference" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#0891B2;strokeWidth=3;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" target="w-updater" value="options">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-7" edge="1" parent="1" source="w-appgroup" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;edgeStyle=orthogonalEdgeStyle;" target="w-widget-store" value="read JSON">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-8" edge="1" parent="1" source="w-widget-store" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;" target="w-provider" value="snapshot">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-9" edge="1" parent="1" source="w-provider" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;" target="w-entry" value="entry data">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="wd-10" edge="1" parent="1" source="w-entry" style="endArrow=blockThin;endFill=1;endSize=16;html=1;rounded=1;strokeColor=#7C3AED;strokeWidth=3;" target="w-entry-view" value="render">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>