Skip to main content

Hello World

The following is the basic hello world example diagram:

Compiled, you'll see:

hello world render

It declares a shape x points to a shape y and there's a connection between them labeled hello world. So, that's exactly what's rendered!


Make sure you have the D2 experiment enabled in your account settings to get the beta of this feature.

The specific layout rendered may vary as our autolayout algorithm changes.