summaryrefslogtreecommitdiff
path: root/doc/uml/use_case_diagram.dot
blob: dfa76923c4896a14cd1da76f395d341771e1b0e3 (plain)
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
// 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;
    }
}