Proposition of new NodeFigure

I think the following figures can have a place in the built-in node figures:







Regards

The first one looks like a good suggestion. Unfortunately it’s too late to include in version 1.2, but I can show you how to make a custom shape for that.

The second one just looks like a filled circle.

The last two look like you need to use a panel containing a shape and some text. You could either use a NodePanel or a Grid.

Here are four nodes. Of course you would want to use each in your own DataTemplate, rather than as separate unbound nodes.

  <go:Node Id="CircleDot">
    <go:NodePanel go:Node.Location="10 30" Sizing="Fixed">
      <Ellipse Fill="LightGoldenrodYellow" Stroke="Black" StrokeThickness="1" Width="20" Height="20" />
      <Ellipse Fill="Black" Width="12" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" />
    </go:NodePanel>
  </go:Node>

  <go:Node Id="CircleFilled">
    <Ellipse go:Node.Location="30 30" Fill="Black" Width="20" Height="20" />
  </go:Node>

  <go:Node Id="CircleH">
    <go:NodePanel go:Node.Location="50 30" Sizing="Fixed">
      <Ellipse Fill="LightGoldenrodYellow" Stroke="Black" StrokeThickness="1" Width="20" Height="20" />
      <TextBlock Text="H" HorizontalAlignment="Center" VerticalAlignment="Center" />
    </go:NodePanel>
  </go:Node>

  <go:Node Id="CircleHStar">
    <go:NodePanel go:Node.Location="70 30" Sizing="Fixed">
      <Ellipse Fill="LightGoldenrodYellow" Stroke="Black" StrokeThickness="1" Width="20" Height="20" />
      <TextBlock Text="H*" HorizontalAlignment="Center" VerticalAlignment="Center" />
    </go:NodePanel>
  </go:Node>

Thanks for examples.