Skip to content

Commit

Permalink
allow assign graphControl.Graph = null;
Browse files Browse the repository at this point in the history
  • Loading branch information
trivalik committed Dec 2, 2024
1 parent 94e52ec commit 3676292
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ public Graph Graph {
(d,e)=> ((AutomaticGraphLayoutControl)d)?.SetGraph()));

private void SetGraph() {
if (Graph == null) {
dockPanel.Children.Clear();
return;
}
if (_graphViewer == null) {
_graphViewer = new GraphViewer();
_graphViewer.BindToPanel(dockPanel);
Expand Down

0 comments on commit 3676292

Please sign in to comment.