summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-04-25 21:15:06 +0200
committerAlex Legler <a3li@gentoo.org>2009-04-25 21:15:06 +0200
commite89340f11ff37c7261992aa1241753c2b78fb1c5 (patch)
tree369f17ee53838cede948f287c817a6f7b1329b3c /doc
parentAdding the new header inspired by redmine. (diff)
downloadglsamaker-e89340f11ff37c7261992aa1241753c2b78fb1c5.tar.gz
glsamaker-e89340f11ff37c7261992aa1241753c2b78fb1c5.tar.bz2
glsamaker-e89340f11ff37c7261992aa1241753c2b78fb1c5.zip
Adding a class diagram.
Diffstat (limited to 'doc')
-rw-r--r--doc/diagrams/models.dot18
-rw-r--r--doc/diagrams/models.pngbin0 -> 112432 bytes
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/diagrams/models.dot b/doc/diagrams/models.dot
new file mode 100644
index 0000000..75607f6
--- /dev/null
+++ b/doc/diagrams/models.dot
@@ -0,0 +1,18 @@
+digraph models_diagram {
+ graph[overlap=false, splines=true]
+ "Bug" [shape=Mrecord, label="{Bug|title :text\lcreated_at :datetime\lupdated_at :datetime\l}"]
+ "Comment" [shape=Mrecord, label="{Comment|text :text\lread :boolean\lcreated_at :datetime\lupdated_at :datetime\l}"]
+ "Glsa" [shape=Mrecord, label="{Glsa|requester :integer\lsubmitter :integer\lbugreadymaker :integer\lstatus :string\lrestricted :boolean\lcreated_at :datetime\lupdated_at :datetime\l}"]
+ "Reference" [shape=Mrecord, label="{Reference|title :text\lurl :text\lcreated_at :datetime\lupdated_at :datetime\l}"]
+ "Revision" [shape=Mrecord, label="{Revision|revid :integer\ltitle :string\laccess :string\lproduct :string\lcategory :string\lseverity :string\lsynopsis :text\lbackground :text\ldescription :text\limpact :text\lworkaround :text\lresolution :text\lcreated_at :datetime\lupdated_at :datetime\l}"]
+ "User" [shape=Mrecord, label="{User|login :string\lname :string\lemail :string\ldisabled :boolean\lpreferences :text\laccess :integer\lcreated_at :datetime\lupdated_at :datetime\l}"]
+ "Glsa" -> "Comment" [arrowtail=crow, arrowhead=dot, dir=both]
+ "Glsa" -> "Revision" [arrowtail=crow, arrowhead=dot, dir=both]
+ "Revision" -> "Bug" [arrowtail=crow, arrowhead=dot, dir=both]
+ "Revision" -> "Reference" [arrowtail=crow, arrowhead=dot, dir=both]
+ "User" -> "Glsa" [label="requested_glsas", arrowtail=crow, arrowhead=dot, dir=both]
+ "User" -> "Revision" [arrowtail=crow, arrowhead=dot, dir=both]
+ "User" -> "Glsa" [label="bugreadymade_glsas", arrowtail=crow, arrowhead=dot, dir=both]
+ "User" -> "Permission" [arrowtail=crow, arrowhead=crow, dir=both]
+ "User" -> "Glsa" [label="submitted_glsas", arrowtail=crow, arrowhead=dot, dir=both]
+}
diff --git a/doc/diagrams/models.png b/doc/diagrams/models.png
new file mode 100644
index 0000000..bec604c
--- /dev/null
+++ b/doc/diagrams/models.png
Binary files differ