private static void ShowNamesChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d == null) { return; } GraphV graphV = d as GraphV; if (graphV == null) { return; } graphV.OnPropertyChanged(nameof(ShowNodeNames)); }
private static void NodeSizeChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d == null) { return; } GraphV graphV = d as GraphV; if (graphV == null) { return; } graphV.GenerateNodePositions(graphV.ActualWidth, graphV.ActualHeight); }
private static void GraphPathChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d == null) { return; } GraphV graphV = d as GraphV; if (graphV == null) { return; } graphV.SmartGraphPathParentChanged(); graphV.SmartGraphPathCahnged(); }