示例#1
0
 public bool DeleteRelationship(CircleDiagramRelationship relationship)
 {
     if (relationship == null || !IsCorrect())
     {
         return(false);
     }
     return(Relationships.Remove(relationship));
 }
示例#2
0
 public bool AddRelationship(CircleDiagramRelationship relationship)
 {
     if (relationship == null || !IsCorrect())
     {
         return(false);
     }
     Relationships.Add(relationship);
     return(true);
 }