Skip to content

Commit f5d0f36

Browse files
gavin-tsnhooyr
authored andcommitted
update example d2 file
1 parent 30240a9 commit f5d0f36

File tree

1 file changed

+8
-7
lines changed
  • docs/examples/twitter

1 file changed

+8
-7
lines changed

docs/examples/twitter/in.d2

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ timeline mixer: "" {
1010
}
1111
People discovery: "People discovery \nservice"
1212
admixer: Ad mixer {
13-
fill: "#c1a2f3"
13+
style.fill: "#c1a2f3"
1414
}
1515

1616
onboarding service: "Onboarding \nservice"
@@ -54,7 +54,7 @@ Android: {
5454

5555
web -> twitter fe
5656
timeline scorer: "Timeline\nScorer" {
57-
fill: "#ffdef1"
57+
style.fill: "#ffdef1"
5858
}
5959
home ranker: Home Ranker
6060

@@ -66,7 +66,7 @@ timeline mixer -> home ranker: {
6666
}
6767
timeline mixer -> timeline service
6868
home mixer: Home mixer {
69-
# fill: "#c1a2f3"
69+
# style.fill: "#c1a2f3"
7070
}
7171
container0.graphql -> home mixer: {
7272
style.stroke-dash: 4
@@ -93,23 +93,24 @@ prediction service2: Prediction Service {
9393
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
9494
}
9595
home scorer: Home Scorer {
96-
fill: "#ffdef1"
96+
style.fill: "#ffdef1"
9797
}
9898
manhattan: Manhattan
9999
memcache: Memcache {
100100
icon: https://d1q6f0aelx0por.cloudfront.net/product-logos/de041504-0ddb-43f6-b89e-fe04403cca8d-memcached.png
101101
}
102102

103103
fetch: Fetch {
104-
multiple: true
104+
style.multiple: true
105105
shape: step
106106
}
107+
107108
feature: Feature {
108-
multiple: true
109+
style.multiple: true
109110
shape: step
110111
}
111112
scoring: Scoring {
112-
multiple: true
113+
style.multiple: true
113114
shape: step
114115
}
115116
fetch -> feature

0 commit comments

Comments
 (0)