public Port(Node parent, string Name, PortDataType DataType, Direction FlowDirection) { this.Parent = parent; this.Name = Name; this.DataType = DataType; this.FlowDirection = FlowDirection; this.Size = new Size(10, 10); this.Margin = new Padding(2, 4, 2, 4); }
public InputPort(Node parent, string Name, PortDataType DataType) : base(parent, Name, DataType, Direction.Input) { }