summaryrefslogtreecommitdiff
path: root/doc/uml/use_case_diagram.dot
diff options
context:
space:
mode:
Diffstat (limited to 'doc/uml/use_case_diagram.dot')
-rw-r--r--doc/uml/use_case_diagram.dot72
1 files changed, 72 insertions, 0 deletions
diff --git a/doc/uml/use_case_diagram.dot b/doc/uml/use_case_diagram.dot
new file mode 100644
index 0000000..dfa7692
--- /dev/null
+++ b/doc/uml/use_case_diagram.dot
@@ -0,0 +1,72 @@
+// This is a graphviz file. To generate a diagram from this source,
+// you must first install graphviz (available from homebrew). Then run
+// the following command:
+//
+// dot -Tpng -o use_case_diagram.png use_case_diagram.dot
+
+digraph G {
+ fontname = "Bitstream Vera Sans";
+ fontsize = 12;
+
+ node [
+ fontname = "Bitstream Vera Sans";
+ fontsize = 12;
+ shape = "ellipse";
+ ]
+
+ edge [
+ fontname = "Bitstream Vera Sans";
+ fontsize = 12;
+ ]
+
+ edge [
+ arrowhead = "empty";
+ ]
+
+ subgraph cluster_actors {
+ color = white;
+ node [
+ shape = custom;
+ shapefile = "actor.png";
+ width = 0.352;
+ height = 0.77;
+ fixedsize = true;
+ color = "#ffffff";
+ ]
+ ciq [label = "CIQ"];
+ cron [label = "cron"]
+ technician [label = "Technician"];
+ }
+
+ subgraph cluster_processes {
+ style = filled;
+ color = azure2;
+ populate_database [label = "Populate database"];
+ monitor_hardware [label = "Monitor hardware"];
+ install_caas [label = "Install CaaS"];
+ }
+
+ {
+ edge [color = red;]
+ ciq -> populate_database [label = "Populates"];
+ }
+
+ {
+ edge [color = chocolate4;]
+ cron -> install_caas [label = "Starts"];
+ }
+
+ {
+ edge [color = blue;]
+ technician -> monitor_hardware [label = "Waits for"];
+ }
+
+ {
+ edge [
+ label = "Uses";
+ color = green4;
+ ]
+ install_caas -> monitor_hardware;
+ monitor_hardware -> populate_database;
+ }
+}