iot

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

IoT Architecture Diagram Generator

IoT架构图生成器

Quick Start: Select device/sensor icons → Place edge gateways → Connect to cloud services → Group into zones → Wrap in
```plantuml
fence.
⚠️ IMPORTANT: Always use
```plantuml
or
```puml
code fence. NEVER use
```text
— it will NOT render as a diagram.
快速上手: 选择设备/传感器图标 → 放置边缘网关 → 连接到云服务 → 按区域分组 → 用
```plantuml
代码块包裹。
⚠️ 重要提示: 请始终使用
```plantuml
```puml
代码块,永远不要使用
```text
—— 它不会渲染为图表。

Critical Rules

核心规则

  • Every diagram starts with
    @startuml
    and ends with
    @enduml
  • Use
    left to right direction
    for typical IoT data flows (Device → Edge → Cloud)
  • Use
    mxgraph.aws4.*
    stencil syntax for IoT service and device icons
  • Default colors are applied automatically — you do NOT need to specify
    fillColor
    or
    strokeColor
  • Use
    rectangle "Zone"  { ... }
    or
    package "Site" { ... }
    for grouping
  • Directed flows use
    -->
    , async/event-driven flows use
    ..>
    (dashed)
Full stencil reference: See stencils/README.md for 9500+ available icons.
  • 所有图表都以
    @startuml
    开头,以
    @enduml
    结尾
  • 典型IoT数据流(设备 → 边缘 → 云)请使用
    left to right direction
    (从左到右布局)
  • IoT服务和设备图标使用
    mxgraph.aws4.*
    模板语法
  • 默认颜色会自动应用 —— 你不需要手动指定
    fillColor
    strokeColor
  • 使用
    rectangle "Zone"  { ... }
    package "Site" { ... }
    进行分组
  • 定向流使用
    -->
    ,异步/事件驱动流使用
    ..>
    (虚线)
完整模板参考: 查看stencils/README.md获取9500+可用图标。

Mxgraph Stencil Syntax

Mxgraph模板语法

mxgraph.aws4.<icon> "Label" as <alias>
mxgraph.aws4.<icon> "Label" as <alias>

Core IoT Stencils

核心IoT模板

CategoryStencilsPurpose
IoT Platform
iot_core
,
internet_of_things
,
iot_1click
Central IoT hub / message broker
Edge/Gateway
greengrass
,
iot_device_gateway
,
freertos
,
iot_expresslink
Edge computing & device gateway
Greengrass
iot_greengrass_component
,
iot_greengrass_nucleus
,
iot_greengrass_stream_manager
Edge runtime components
Device Mgmt
iot_device_management
,
iot_device_defender
,
iot_device_tester
,
iot_over_the_air_update
Fleet provisioning, security, OTA
Analytics
iot_analytics
,
iot_analytics_channel
,
iot_analytics_pipeline
,
iot_analytics_dataset
,
iot_analytics_data_store
IoT data processing pipeline
Events/Rules
iot_events
,
iot_device_defender_iot_device_jobs
Event detection & job execution
Digital Twin
iot_twinmaker
,
iot_sitewise
,
iot_sitewise_asset
,
iot_sitewise_asset_model
Asset modeling & visualization
Fleet
iot_fleetwise
,
iot_device_management_fleet
Vehicle & device fleet telemetry
类别模板名用途
IoT平台
iot_core
,
internet_of_things
,
iot_1click
中心IoT枢纽/消息代理
边缘/网关
greengrass
,
iot_device_gateway
,
freertos
,
iot_expresslink
边缘计算与设备网关
Greengrass
iot_greengrass_component
,
iot_greengrass_nucleus
,
iot_greengrass_stream_manager
边缘运行时组件
设备管理
iot_device_management
,
iot_device_defender
,
iot_device_tester
,
iot_over_the_air_update
车队部署、安全、OTA升级
分析
iot_analytics
,
iot_analytics_channel
,
iot_analytics_pipeline
,
iot_analytics_dataset
,
iot_analytics_data_store
IoT数据处理流水线
事件/规则
iot_events
,
iot_device_defender_iot_device_jobs
事件检测与任务执行
数字孪生
iot_twinmaker
,
iot_sitewise
,
iot_sitewise_asset
,
iot_sitewise_asset_model
资产建模与可视化
车队
iot_fleetwise
,
iot_device_management_fleet
车辆与设备车队遥测

Device & Sensor Stencils

设备与传感器模板

CategoryStencils
Sensors
sensor
,
iot_thing_temperature_sensor
,
iot_thing_humidity_sensor
,
iot_thing_vibration_sensor
,
iot_thing_temperature_humidity_sensor
,
iot_thing_temperature_vibration_sensor
Actuators
actuator
,
iot_thing_relay
,
iot_thing_stacklight
Industrial
factory
,
iot_thing_industrial_pc
,
iot_thing_plc
Smart Home
thermostat
,
alexa_enabled_device
,
alexa_smart_home_skill
,
camera
,
camera2
Protocols
mqtt_protocol
,
iot_lorawan_protocol
,
iot_greengrass_protocol
Boats/Vehicles
iot_sailboat
,
iot_fleetwise
Robotics
robomaker
,
iot_roborunner
类别模板名
传感器
sensor
,
iot_thing_temperature_sensor
,
iot_thing_humidity_sensor
,
iot_thing_vibration_sensor
,
iot_thing_temperature_humidity_sensor
,
iot_thing_temperature_vibration_sensor
执行器
actuator
,
iot_thing_relay
,
iot_thing_stacklight
工业
factory
,
iot_thing_industrial_pc
,
iot_thing_plc
智能家居
thermostat
,
alexa_enabled_device
,
alexa_smart_home_skill
,
camera
,
camera2
协议
mqtt_protocol
,
iot_lorawan_protocol
,
iot_greengrass_protocol
船舶/车辆
iot_sailboat
,
iot_fleetwise
机器人
robomaker
,
iot_roborunner

Connection Types

连接类型

SyntaxMeaningUse Case
A --> B
Solid arrowSync API / data flow
A ..> B
Dashed arrowAsync telemetry / MQTT publish
A -- B
Solid linePhysical / bidirectional link
A --> B : "label"
Labeled connectionDescribe protocol or data
语法含义使用场景
A --> B
实线箭头同步API / 数据流
A ..> B
虚线箭头异步遥测 / MQTT发布
A -- B
实线物理 / 双向链路
A --> B : "label"
带标签的连接描述协议或数据

Quick Example

快速示例

plantuml
@startuml
left to right direction
rectangle "Factory Floor" {
  mxgraph.aws4.sensor "Temp\nSensor" as s1
  mxgraph.aws4.iot_thing_plc "PLC" as plc
}
mxgraph.aws4.greengrass "Greengrass\nEdge" as gg
mxgraph.aws4.iot_core "IoT Core" as core
mxgraph.aws4.iot_analytics "IoT\nAnalytics" as analytics

s1 --> gg : MQTT
plc --> gg
gg --> core
core --> analytics
@enduml
plantuml
@startuml
left to right direction
rectangle "Factory Floor" {
  mxgraph.aws4.sensor "Temp\nSensor" as s1
  mxgraph.aws4.iot_thing_plc "PLC" as plc
}
mxgraph.aws4.greengrass "Greengrass\nEdge" as gg
mxgraph.aws4.iot_core "IoT Core" as core
mxgraph.aws4.iot_analytics "IoT\nAnalytics" as analytics

s1 --> gg : MQTT
plc --> gg
gg --> core
core --> analytics
@enduml

IoT Architecture Types

IoT架构类型

TypePurposeKey StencilsExample
Smart FactoryIndustrial IoT monitoring
sensor
,
iot_thing_plc
,
greengrass
,
iot_sitewise
smart-factory.md
Smart HomeHome automation
thermostat
,
alexa_enabled_device
,
camera
,
iot_core
smart-home.md
Fleet TelemetryVehicle fleet tracking
iot_fleetwise
,
iot_core
,
iot_analytics
fleet-telemetry.md
Edge ComputingLocal processing at edge
greengrass
,
freertos
,
iot_greengrass_component
edge-computing.md
Digital TwinAsset modeling & simulation
iot_twinmaker
,
iot_sitewise_asset_model
,
iot_sitewise
digital-twin.md
Sensor NetworkDistributed sensor mesh
sensor
,
iot_lorawan_protocol
,
iot_device_gateway
sensor-network.md
Device ManagementFleet provisioning & OTA
iot_device_management
,
iot_device_defender
,
iot_over_the_air_update
device-management.md
RoboticsRobot fleet orchestration
robomaker
,
iot_roborunner
,
greengrass
robotics.md
类型用途核心模板示例
智能工厂工业IoT监控
sensor
,
iot_thing_plc
,
greengrass
,
iot_sitewise
smart-factory.md
智能家居家庭自动化
thermostat
,
alexa_enabled_device
,
camera
,
iot_core
smart-home.md
车队遥测车辆车队追踪
iot_fleetwise
,
iot_core
,
iot_analytics
fleet-telemetry.md
边缘计算边缘侧本地处理
greengrass
,
freertos
,
iot_greengrass_component
edge-computing.md
数字孪生资产建模与仿真
iot_twinmaker
,
iot_sitewise_asset_model
,
iot_sitewise
digital-twin.md
传感器网络分布式传感器网格
sensor
,
iot_lorawan_protocol
,
iot_device_gateway
sensor-network.md
设备管理车队部署与OTA升级
iot_device_management
,
iot_device_defender
,
iot_over_the_air_update
device-management.md
机器人机器人群体编排
robomaker
,
iot_roborunner
,
greengrass
robotics.md