public void OnShowEndpointsChanged() { foreach (var node in Diagram.Nodes.OfType <MessageNode>()) { node.ShowEndpoints = ShowEndpoints; _view.UpdateNode(node); } _view.UpdateConnections(); _view.ApplyLayout(); }
public void OnShowEndpointsChanged() { foreach (var node in Diagram.Nodes.OfType <MessageNode>()) { node.ShowEndpoints = ShowEndpoints; if (view != null) { view.UpdateNode(node); } } if (view != null) { view.UpdateConnections(); view.ApplyLayout(); } UpdateSetting(); }