Hello, I'm not sure if this is a bug or if I'm doing something wrong.
Basically I am creating nodes from a data source, and depending on certain properties I would like for the nodes to have different shapes.
Here's the snippet of code I'm focusing on:
Node.UnitWidth = 150;
Node.UnitHeight = 50;
Node.Shape = Resources["Ellipse"];
Node.ShapeStyle = Resources["ShapeStyle"] as Style;
if I change "Resources["Ellipse"];" to "new EllipseGeometry(new Rect(new Size(150, 50)));" then it appears correctly, otherwise it is invisible,
I would like to use other basic shapes other than Ellipse, so for them I don't really have a work around, any help is appreciated, thanks.