Icons¶
Import an icon pack with use icons, then place an icon with
pack:name. The aws pack ships with SheepText, so it works offline:
An icon is a shape like any other: give it a caption, a size (in units),
and a position:
The bundled aws pack includes server, database, users,
client, lambda, amazon-api-gateway, and amazon-rekognition.
Use labelside to place an icon’s caption on a chosen side; top keeps a
row of icons tidy by lifting every label clear of the connecting arrows:
Because icons are shapes, name them and connect them with arrows. Combine that with automatic layout and a diagram assembles itself:
Icon flow
use icons aws
direction right
U: icon aws:users labelside top "Users"
G: icon aws:amazon-api-gateway labelside top "API Gateway"
F: icon aws:lambda labelside top "Handler"
arrow from U to G
arrow from G to F
Next: reuse values with Variables and expressions.