public void DELETE_GRAPH() { mG = new MainGraph(graphCanvas, pInfo); pInfo.AddGraph(mG); pAction.AddGraph(mG); mG.printMatrixs(); }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { edge.SetColor(Brushes.Black); edge.SetWeight(weight); mGraph.DrawGraph(); mGraph.printMatrixs(); }
public PageDrawGraph() { InitializeComponent(); pInfo = new PageInformationAboutGraph(this); pAction = new PageActionWithGraph(this, pInfo); mG = new MainGraph(graphCanvas, pInfo); pInfo.AddGraph(mG); pAction.AddGraph(mG); FrameInfo.Navigate(pInfo); mG.printMatrixs(); }
private void changeOfState(object sender, System.Windows.RoutedEventArgs e) { mG.RemoveRepeatingEdge((bool)btnOrient.IsChecked); mG.DrawGraph(); mG.printMatrixs(); }