public IKNode CreateInitializedKNode() { IKNode layoutNode = new KNode(); KShapeLayout shapeLayout = new KShapeLayout(); shapeLayout.Insets = new KInsets(); layoutNode.KShapeLayout = shapeLayout; return layoutNode; }
public KPort CreateInitializedPort() { KPort port = new KPort(); KShapeLayout shapeLayout = new KShapeLayout(); shapeLayout.Insets = new KInsets(); port.KShapeLayout = shapeLayout; return port; }
public KLabel CreateInitializedKLabel(IKNode parent) { KLabel label = new KLabel(); KShapeLayout shapeLayout = new KShapeLayout(); label.KShapeLayout = shapeLayout; label.Text = ""; label.Parent = parent; return label; }