--- a/src/Tools/Graphview/etc/options Sun Jan 18 17:34:14 2015 +0100
+++ b/src/Tools/Graphview/etc/options Sun Jan 18 19:06:37 2015 +0100
@@ -23,3 +23,6 @@
public option graphview_content_margin : int = 60
-- "margin for node content pretty-printing"
+public option graphview_swap_panels : bool = false
+ -- "swap panels for tree view versus graph layout"
+
--- a/src/Tools/Graphview/main_panel.scala Sun Jan 18 17:34:14 2015 +0100
+++ b/src/Tools/Graphview/main_panel.scala Sun Jan 18 19:06:37 2015 +0100
@@ -33,7 +33,11 @@
graph_panel.refresh()
}
- val split_pane = new SplitPane(Orientation.Vertical, tree_panel, graph_panel)
+ val split_pane =
+ if (visualizer.get_options.bool("graphview_swap_panels"))
+ new SplitPane(Orientation.Vertical, tree_panel, graph_panel)
+ else
+ new SplitPane(Orientation.Vertical, graph_panel, tree_panel)
split_pane.oneTouchExpandable = true
val mutator_dialog = new Mutator_Dialog(visualizer, model.Mutators, "Filters", "Hide", false)