This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
forked from mantor/floristry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharch.dot
144 lines (105 loc) · 3.3 KB
/
arch.dot
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
digraph Floristry {
rankdir=TB;
graph [fontsize=11 fontname="courier" compound=true];
node [shape=box fontsize=9 fontname="Courier"];
node [colorscheme=pastel19,style=filled];
edge [fontsize=9,color=gray];
fontname = "Courier";
//splines=curved;
# Web Tasker
{
node [fillcolor=1, color=1];
webtasker [label="WebTasker"];
webtask [label="WebTask.create()", shape=cds];
webtasker -> webtask [xlabel="calls",labeljust="l",constraint=false];
}
# Workflow Management
{
node [fillcolor=2, color=2];
launch_flows [label="WorkflowEngine.launch()"];
flack_api [label="/message \n(point: 'launch')", shape=cds];
flow_model [label="Flow model (CRUD)"];
//flow_model:s -> launch_flows:n;
launch_flows:w -> flack_api:s [xlabel="calls", constraint=false]; //[color=red,penwidth=3.0];
}
# Trail
{
node [fillcolor=3, color=3];
pollen [label="Pollen", shape=parallelogram];
trail [label="Trail"];
pollen -> trail [xlabel="updates",constraint=false];
}
# Workflow Engine
{
node [fillcolor=5, color=5];
flor [label="Flor"];
}
# Taskers
{
node [fillcolor=4, color=4];
sshtasker [label="SshTasker"];
xyztasker [label="other taskers"]
}
subgraph cluster_flack {
label = "Flack";
// newrank=true;
subgraph cluster_flor {
label = "Workflow Engine";
color = lightgrey;
flor;
}
subgraph cluster_flackmgmt {
label = "RESTful API";
color = lightgrey;
flack_api;
}
subgraph cluster_observer {
label = "Hooker";
color = lightgrey;
pollen;
}
subgraph cluster_tasker {
label = "Tasker";
color = lightgrey;
sshtasker;
webtasker;
xyztasker;
}
flor;
flack_api -> flor [constraint=false];
flor -> sshtasker [xlabel="execute",lhead=cluster_tasker];
pollen:w -> flor:w [style=dotted,arrowType=invodot,xlabel="observe"];
// edge[style=invis];
// pollen -> flack_api;
}
# Your App
subgraph cluster_yourapp {
label = "Your app"
# Floristry
subgraph cluster_floristry {
label = "Floristry";
color = lightgrey;
subgraph cluster_WorkflowMgmt {
label = "Workflow Management";
color = lightgrey;
launch_flows;
}
subgraph cluster_representation {
label = "Rails representation";
color = lightgrey;
trail;
}
subgraph cluster_webtask {
label = "WebTask";
color = lightgrey;
webtask;
}
edge[style=invis];
trail -> launch_flows -> webtask;
}
flow_model;
flow_model:e -> launch_flows:e;
// edge[style=invis];
// webtask -> flow_model;
}
}