Advanced
The Astro D2 integration can be used to create advanced diagrams:
```d2network: { cell tower: { satellites: { shape: stored_data style.multiple: true }
transmitter
satellites -> transmitter: send satellites -> transmitter: send satellites -> transmitter: send }
online portal: { ui: {shape: hexagon} }
data processor: { storage: { shape: cylinder style.multiple: true } }
cell tower.transmitter -> data processor.storage: phone logs}
user: { shape: person width: 130}
user -> network.cell tower: make calluser -> network.online portal.ui: access { style.stroke-dash: 3}
api server -> network.online portal.ui: displayapi server -> logs: persistlogs: {shape: page; style.multiple: true}
network.data processor -> api server```
The above code block taken from the D2 documentation will be rendered as the following diagram: