Example #1
0
 protected void AddNodeContent()
 {
     if (content_added)
     {
         return;
     }
     content_added = true;
     content       = GetChildContentWrapper();
     actual_border = GetBorderWrapper();
     if (NodeLibrary == null)
     {
         Diagram.AddNodeContentFragment(content);
         Diagram.AddNodeBorderFragment(actual_border);
     }
     else
     {
         Diagram.AddNodeTemplateContentFragment(content);
     }
 }
Example #2
0
 internal void AddBorderAndContent()
 {
     Diagram.AddNodeContentFragment(content);
     Diagram.AddNodeBorderFragment(actual_border);
 }