protected virtual void OnNodeAdded(NodeModel node) { var handler = NodeAdded; if (handler != null) handler(node); }