public ComlinkNode(NodeType nodeType, UniqueId id, float x, float y, uint color, string name, IEnumerable <IInputPin> inputPins, IEnumerable <IOutputPin> outputPins, IEnumerable <Connection> connections) : this(nodeType, id) { X = x; Y = y; Color = color; Name = name; InputPins.AddRange(inputPins); OutputPins.AddRange(outputPins); Connections.AddRange(connections); }