@@ -129,16 +129,16 @@ def arrow(x1, y1, x2, y2, label, dy_label=2, color="black"):
129129 ax .text ((x1 + x2 ) / 2 , max (y1 , y2 ) + dy_label , label ,
130130 ha = "center" , va = "bottom" , fontsize = 8 , color = color , style = "italic" )
131131
132- arrow (22 , 28 , 34 , 28 , "MCP" , dy_label = 1 )
133- arrow (34 , 22 , 22 , 22 , "results" , dy_label = - 3.5 , color = "#666666" )
132+ arrow (22 , 28 , 34 , 28 , "MCP" , dy_label = 1 )
133+ arrow (34 , 22 , 22 , 22 , "results" , dy_label = - 3.5 , color = "#666666" )
134134 arrow (104 , 28 , 116 , 28 , "DCP wire" , dy_label = 1 )
135135 arrow (116 , 22 , 104 , 22 , "reply" , dy_label = - 3.5 , color = "#666666" )
136136
137- # Transport bullets under device
138- transports = "UART · MQTT · BLE · USB-CDC"
139- ax . text ( 89 , 12 , transports , ha = "center" , va = "center" , fontsize = 7 ,
140- color = "#444444 " , style = "italic" )
141- ax .text (89 , 8 , "(one wire format,\n any transport)" ,
137+ # Transport bullets centered under the Device box (x ≈ 127, w 22).
138+ ax . text ( 127 , 13 , "UART · MQTT · BLE · USB-CDC" ,
139+ ha = "center" , va = "center" , fontsize = 7 ,
140+ color = "#555555 " , style = "italic" )
141+ ax .text (127 , 8 , "(one wire format, any transport)" ,
142142 ha = "center" , va = "center" , fontsize = 7 , color = "#888888" )
143143
144144 save (fig , "arch" )
0 commit comments