This repository was archived by the owner on Oct 25, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " UML"
3
+ output : html_document
4
+ ---
5
+
6
+ ``` {r, setup, include=FALSE}
7
+ library(nomnoml)
8
+ ```
9
+
10
+ ``` {nomnoml models}
11
+ #edgeMargin: 25
12
+ #spacing: 100
13
+
14
+ [Project |
15
+ + name: String
16
+ + url: String
17
+ + users: User\[1..*\]
18
+ + tags: Tag\[0..*\]
19
+ + publications: Publication\[0..*\]
20
+ ]
21
+
22
+ [Project]1..* - 0..*[Tag]
23
+
24
+ [Tag |
25
+ + name: String
26
+ ]
27
+
28
+ [Project]0..* - 1..*[User]
29
+
30
+ [User |
31
+ + id: String
32
+ + name: String
33
+ + email: String
34
+ + projects: Project\[0..*\]
35
+ ]
36
+
37
+ [Project]1..* - 0..*[Publication]
38
+
39
+ [Publication |
40
+ + title: String
41
+ + doi: String
42
+ + pmid: String
43
+ ]
44
+
45
+ ```
46
+
47
+ Interpretation:
48
+
49
+ * A project can have 0 or more tags
50
+ * A tag can be assigned to 1 or more projects
51
+ * A project can have 1 or more users
52
+ * A user can have 0 or more projects
53
+ * When they first register their account, they won't have yet registered
54
+ any projects.
55
+ * A project can have 0 or more associated publications
56
+ * A publication can be associated with 1 or more projects
You can’t perform that action at this time.
0 commit comments