-
Notifications
You must be signed in to change notification settings - Fork 525
/
Copy pathsimple_grid_edges.d2
160 lines (148 loc) · 2.23 KB
/
simple_grid_edges.d2
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
grid-rows: 4
grid-columns: 5
horizontal-gap: 20
vertical-gap: 5
*.class: [text; blue]
0,0: {
label: "npm i -g\n@forge/cli"
style: {
fill: "#30304c"
stroke: transparent
font-color: white
font: mono
font-size: 10
bold: false
}
}
0,1: {
label: "Set up an\nAtlassian site"
class: [text; gray]
}
0,2.class: empty
0,3: {
label: "View the hello\nworld app"
class: [text; gray]
}
0,4: forge\ntunnel
1*.class: note
1*.label: ""
1,0
1,1
1,2
1,3
1,4
2,0: forge\nlogin
2,1: forge\ncreate
2,2: forge\ndeploy
2,3: forge\ninstall
2,4: {
shape: diamond
label: "Hot reload\nchanges?"
class: [text; gray]
}
3*.class: note
3,0: Step 1
3,1: Step 2
3,2: Step 3
3,3: Step 4
3,4: ""
4,0: "" {
grid-rows: 3
grid-columns: 1
grid-gap: 0
class: []
style: {
fill: transparent
stroke: transparent
}
*.style: {
fill: transparent
stroke: transparent
font-color: "#30304c"
font-size: 10
bold: false
}
*.label.near: center-left
*.height: 20
a: ⬤ Forge CLI {
style.font-color: "#0033cc"
}
b: ⬤ Required {
style.font-color: "#30304c"
}
c: ⬤ Optional {
style.font-color: "#cecece"
}
}
4,1.class: empty
4,2.class: empty
4,3.class: empty
4,4: forge\ndeploy
0,0 -> 2,0 -> 2,1 -> 2,2 -> 2,3 -> 2,4: {
class: arrow
}
2,1 -> 0,1: {
class: arrow
style.stroke: "#cecece"
}
2,3 -> 0,3: {
class: arrow
style.stroke: "#cecece"
}
2,4 -> 0,4: Yes {
class: arrow
style.font-size: 10
}
2,4 -> 4,4: No {
class: arrow
style.font-size: 10
}
classes: {
text.style: {
stroke: transparent
font-color: white
font: mono
font-size: 10
bold: false
}
text: {
width: 100
height: 60
}
blue.style: {
fill: "#0033cc"
stroke: "#0033cc"
border-radius: 10
}
gray.style: {
fill: "#cecece"
stroke: "#cecece"
border-radius: 10
}
note: {
height: 30
label.near: top-center
style: {
font-size: 10
bold: false
fill: transparent
stroke: transparent
}
}
empty: {
label: ""
width: 50
height: 50
style: {
fill: transparent
stroke: transparent
}
}
arrow: {
target-arrowhead.shape: arrow
style: {
stroke: black
stroke-width: 2
}
}
}