public void ShowDiagramSelectedElements() { var model = ModelEditor.Generate(ModelEditor.GetSelected(Editor.Context.CurrentCanvas)); var diagrams = new List <string>(); diagrams.Add(model); ShowDiagramsWindow(diagrams, "Diagram (Selected Elements)"); }
private void GenerateModelFromSelected_Click(object sender, RoutedEventArgs e) { this.TextModel.Text = ModelEditor.Generate(ModelEditor.GetSelected(Editor.Context.CurrentCanvas)); }