microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.36k stars 308 forks source link

allow assign graphControl.Graph = null; #382

Open trivalik opened 1 day ago

trivalik commented 1 day ago

I just added in MinWpfApp at the end of MainWindow_Loaded:

            graphControl.Graph = null;
            graphControl.Graph = graph;

This lead to a NullReferenceException on reassingment. This is the fix for it.

trivalik commented 1 day ago

@microsoft-github-policy-service agree