Walter here is the code I used to create the Node:
this first part adds it in
private void AddTxtNode(object sender, EventArgs e)
{
TextNode txt = new TextNode();
txt.Editable = true;
float x = 15.5F;
float y = 15.5F;
PointF pos = new PointF(x, y);
txt.SelectionObject.Position = pos;
goView1.Document.Add(txt);
}
this next part is how it is defined, it inherits from the GoBasicNode class, I use the GoBasicNode class so that it integrate well with my other nodes that extend from that class, also I use that same database operations to save and remove data.
public TextNode()
{
rect = new Demo1.PathGradientRoundedRectangle();
rect.Pen = new Pen(Color.Black, 2);
Shape = rect;
GoText lbl = new GoText();
lbl.Editable = true;
lbl.Movable = true;
Movable = true;
Label = lbl;
LabelSpot = GoObject.MiddleCenter;
Label.Text = "New Text Node";
}
here is the link for the vid of what happens
http://www.brownandstreza.com/images/CantMove.html