private void Diagram_ConnectorClicked(object sender, ConnectorClickedEventArgs args)
 {
     diagram.ClearSelection();
 }