protected abstract string ExportRelationship(Relationship relationship);
Пример #2
0
        internal Relationship AddRelationship(Element source, Element target, string description)
        {
            var relationship = new Relationship
            {
                Source = source,
                Target = target,
                Label = description
            };

            _relationships.Add(relationship);

            return relationship;
        }
 protected override string ExportRelationship(Relationship relationship)
 {
     return string.Empty;
 }
Пример #4
0
 public void Add(Relationship relationship)
 {
     _relationships.Add(relationship);
 }