private void AddVariant(Model.NodeData n, string name) { var p = n.AddInputPoint(name); var newEntry = new Variant(name, p); m_variants.Add(newEntry); UpdateVariant(n, newEntry); }