GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoBasicNode Class / GoBasicNode Constructor / GoBasicNode Constructor(GoFigure)
a GoFigure enumeration value
In This Topic
    GoBasicNode Constructor(GoFigure)
    In This Topic
    Create a GoBasicNode with a port and a label and a GoDrawing shape, initialized to have the figure fig and a Middle LabelSpot.
    Syntax
    public GoBasicNode( 
       GoFigure fig
    )

    Parameters

    fig
    a GoFigure enumeration value
    Remarks
    This constructor basically does the following, but more efficiently:
    
                GoBasicNode n = new GoBasicNode();
                n.LabelSpot = GoObject.Middle;
                n.Text = "";
                n.Shape = new GoDrawing(fig);
                
    See Also