// add an attribute public void AddAttribute(GraphAttribute attribute) { attributes.Add(attribute); }
// expose methods? or just let client use attributes field? public void Add(GraphAttribute attribute) { attributes.Add(attribute); }