This sample shows all of the predefined node shapes, enumerated by NodeFigure.

The normal way to define a node consisting of a shape surrounding text in WPF would be something like:

      <go:NodePanel go:Node.SelectionElementName="Shape" go:Node.SelectionAdorned="True" . . . >
        <go:NodeShape x:Name="Shape" go:NodePanel.Figure="{Binding Path=Data}" Width="100" Height="100" . . . />
        <TextBlock Text="{Binding Path=Data}" . . . />
      </go:NodePanel>

In Silverlight, substitute Path for go:NodeShape:

      <go:NodePanel go:Node.SelectionElementName="Shape" go:Node.SelectionAdorned="True" . . . >
        <Path x:Name="Shape" go:NodePanel.Figure="{Binding Path=Data}" Width="100" Height="100" . . . />
        <TextBlock Text="{Binding Path=Data}" . . . />
      </go:NodePanel>

The diagram is laid out by a GridLayout, which arranges all of the nodes in a rectangular grid.