- Timestamp:
- 07/01/14 14:14:26 (10 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/LayoutEngines/BoxesLayoutEngine.cs
r10800 r11065 104 104 visualTreeNode.Y = y; 105 105 } 106 //calculate areas for the subtrees according to their tree size and call drawFunctionTree106 //calculate areas for the subtrees according to their tree size 107 107 var node = visualTreeNode.Content; 108 108 var children = GetChildren(node).ToList(); -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionTreeChart.cs
r10885 r11065 385 385 #region export pgf/tikz 386 386 private void exportLatexToolStripMenuItem_Click(object sender, EventArgs e) { 387 var t = Tree; 388 if (t == null) return; 387 389 using (var dialog = new SaveFileDialog { Filter = "Tex (*.tex)|*.tex" }) { 388 390 if (dialog.ShowDialog() != DialogResult.OK) return; 389 391 string filename = dialog.FileName.ToLower(); 390 392 var formatter = new SymbolicExpressionTreeLatexFormatter(); 391 File.WriteAllText(filename, formatter.Format( Tree));393 File.WriteAllText(filename, formatter.Format(t)); 392 394 } 393 395 } -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/VisualTreeNodeConnection.cs
r10520 r11065 24 24 25 25 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views { 26 public class VisualTreeNodeConnection : object{26 public class VisualTreeNodeConnection { 27 27 private static readonly Color defaultLineColor = Color.Black; 28 28 private static readonly DashStyle defaultDashStyle = DashStyle.Solid;
Note: See TracChangeset
for help on using the changeset viewer.