private void OnShowCDG(object obj) { this.Main.GenerateCFG(method); var text = this.Main.GetMethodInfo <string>(method, "CDG_TEXT"); var document = new GraphDocumentViewModel(this.Main, "CDG", this.FullName, text, "EfficientSugiyama"); this.Main.AddDocument(document); }
private void OnShowPTG(object obj) { this.Main.GeneratePTG(method); var text = this.Main.GetMethodInfo <string>(method, "PTG_TEXT"); var document = new GraphDocumentViewModel(this.Main, "PTG", this.FullName, text, "LinLog"); this.Main.AddDocument(document); }
private void OnShowCG(object obj) { this.Main.GenerateCG(); var text = this.Main.GetProgramInfo <string>("CG_TEXT"); var document = new GraphDocumentViewModel(this.Main, "CG", assembly.Name, text, "LinLog"); this.Main.AddDocument(document); }