Hi Walter, thanks for the quick reply… I got the height working as you suggested, and will look into something for the width.
As for the DataTemplate, this is what I’ve got:
<Style x:Key="PaleteObjectStyle" TargetType="{x:Type go:NodePanel}">
<Setter Property="Margin" Value="5" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
<go:DataTemplateDictionary x:Key="CompressorNodeTemplateDictionary">
<DataTemplate x:Key="Compressor">
<StackPanel go:Part.SelectionElementName="Shape" go:Part.SelectionAdorned="True"
go:Node.LocationElementName="Shape" go:Node.Location="{Binding Path=Data.Location, Mode=TwoWay}">
<TextBlock Style="{StaticResource TextBlockStyle}" Text="{Binding Path=Data.Text}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<go:NodePanel x:Name="Shape" Style="{StaticResource PaleteObjectStyle}">
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 21.239,7.920 L 18.360,7.920 L 18.360,10.621 L 21.239,10.621"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 0.180,21.600 L 38.880,21.600 L 38.880,19.440 L 0.180,19.440 L 0.180,21.600"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 17.460,15.121 L 17.460,3.420"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 17.460,12.420 L 18.360,12.420 L 18.360,6.121 L 17.460,6.121 L 17.460,12.420"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 15.300,15.480 L 15.300,19.440"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 17.460,3.420 L 0.180,0.180 L 0.180,18.360 L 17.460,15.121"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 2.340,18.000 L 2.340,19.440"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 36.720,19.440 L 36.720,0.180"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 23.761,19.440 L 23.761,0.180"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 21.239,10.980 L 21.960,10.980 L 21.960,7.380 L 21.239,7.380 L 21.239,10.980"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 21.960,10.621 L 23.761,10.621 L 23.761,7.920 L 21.960,7.920"/>
<Path StrokeThickness="0.4" Stroke="#ff010101" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Data="F1 M 36.720,0.180 L 23.761,0.180 L 23.761,12.960 L 36.720,12.960 L 36.720,0.180"/>
<Rectangle Fill="Transparent" Margin="8" />
</go:NodePanel>
</StackPanel>
</DataTemplate>
</go:DataTemplateDictionary>
<telerik:RadPanelBarItem Header="Compressors" >
<go:Palette x:Name="compressorPalette"
go:Diagram.LayoutCompleted="sizeDiagram"
NodeTemplateDictionary="{StaticResource CompressorNodeTemplateDictionary}"
MaximumSelectionCount="1" />
</telerik:RadPanelBarItem>