Skip to content

Commit 655f172

Browse files
committed
add image
1 parent 5ee0253 commit 655f172

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,5 @@ block:
101101
let usecase = newUsecase(repository)
102102
assert "Repository exec" == usecase.exec("exec")
103103
```
104+
105+
![](./design.png)

design.drawio

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<mxfile>
2+
<diagram id="i4pNanTPGU8ui4y3ABLw" name="ページ1">
3+
<mxGraphModel dx="625" dy="471" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="6" value="&lt;interface&gt; IRepository" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
8+
<mxGeometry x="320" y="200" width="160" height="60" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="8" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="6">
11+
<mxGeometry y="26" width="160" height="8" as="geometry"/>
12+
</mxCell>
13+
<mxCell id="9" value="+ exec(string): string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="6">
14+
<mxGeometry y="34" width="160" height="26" as="geometry"/>
15+
</mxCell>
16+
<mxCell id="11" value="&lt;impl&gt; MockRepository" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
17+
<mxGeometry x="440" y="40" width="160" height="60" as="geometry"/>
18+
</mxCell>
19+
<mxCell id="12" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="11">
20+
<mxGeometry y="26" width="160" height="8" as="geometry"/>
21+
</mxCell>
22+
<mxCell id="13" value="+ exec(string): string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="11">
23+
<mxGeometry y="34" width="160" height="26" as="geometry"/>
24+
</mxCell>
25+
<mxCell id="15" value="&lt;impl&gt; Repository" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
26+
<mxGeometry x="200" y="40" width="160" height="60" as="geometry"/>
27+
</mxCell>
28+
<mxCell id="16" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="15">
29+
<mxGeometry y="26" width="160" height="8" as="geometry"/>
30+
</mxCell>
31+
<mxCell id="17" value="+ exec(string): string" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="15">
32+
<mxGeometry y="34" width="160" height="26" as="geometry"/>
33+
</mxCell>
34+
<mxCell id="22" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.494;entryY=1.077;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=open;endFill=0;" edge="1" parent="1" source="19" target="9">
35+
<mxGeometry relative="1" as="geometry">
36+
<mxPoint x="400" y="290.004" as="targetPoint"/>
37+
</mxGeometry>
38+
</mxCell>
39+
<mxCell id="19" value="usecase" style="html=1;" vertex="1" parent="1">
40+
<mxGeometry x="345" y="340" width="110" height="50" as="geometry"/>
41+
</mxCell>
42+
<mxCell id="20" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.763;exitY=1.154;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;endArrow=block;endFill=0;exitPerimeter=0;" edge="1" parent="1" source="17" target="6">
43+
<mxGeometry relative="1" as="geometry">
44+
<mxPoint x="360" y="113" as="sourcePoint"/>
45+
</mxGeometry>
46+
</mxCell>
47+
<mxCell id="21" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.256;exitY=1.077;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;endArrow=block;endFill=0;exitPerimeter=0;" edge="1" parent="1" source="13" target="6">
48+
<mxGeometry relative="1" as="geometry">
49+
<mxPoint x="440" y="113" as="sourcePoint"/>
50+
</mxGeometry>
51+
</mxCell>
52+
</root>
53+
</mxGraphModel>
54+
</diagram>
55+
</mxfile>

design.png

23.2 KB
Loading

0 commit comments

Comments
 (0)