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); } }
internal void AddBorderAndContent() { Diagram.AddNodeContentFragment(content); Diagram.AddNodeBorderFragment(actual_border); }