<commit_before>Ext.define("DARPA.GraphLayoutMenu", {
	extend: "Ext.menu.Menu",
	
	graphRef: undefined,
	
	constructor: function(config) {
		var scope = this;
		
		scope.items = [{
			text: "Circular Layouts",
			menu: [{
				text: "Default",
				handler: function(item) {
					var gr;
					if (scope.graphRef) {
						gr = scope.graphRef;
					} else {
						var menu = item.parentMenu.parentMenu;
						var toolbar = menu.up().up();
						gr = toolbar.up();
					}
					
					gr.GraphVis.changeLayout('circle', {
						// layout config options go here
					});
				} // END DEFAULT CIRCULAR LAYOUT
			}] // END CIRCULAR LAYOUT MENU
		}, {
			text: "Grid Layouts",
			menu: [{
				text: "Default",
				handler: function(item) {
					var gr;
					if (scope.graphRef) {
						gr = scope.graphRef;
					} else {
						var menu = item.parentMenu.parentMenu;
						var toolbar = menu.up().up();
						gr = toolbar.up();
					}
					
					gr.GraphVis.changeLayout('grid', {
						// layout config options go here
					});
				} // END DEFAULT GRID LAYOUT
			}] // END GRID LAYOUT MENUS
		}, {
			text: "Heirarchical Layouts",
			menu: [{
				text: "Breadth-First",
				handler: function(item) {
					var gr;
					if (scope.graphRef) {
						gr = scope.graphRef;
					} else {
						var menu = item.parentMenu.parentMenu;
						var toolbar = menu.up().up();<commit_msg>Fixed spelling of "hierarchical" in the layout menu (again)<commit_after>Ext.define("DARPA.GraphLayoutMenu", {
	extend: "Ext.menu.Menu",
	
	graphRef: undefined,
	
	constructor: function(config) {
		var scope = this;
		
		scope.items = [{
			text: "Circular Layouts",
			menu: [{
				text: "Default",
				handler: function(item) {
					var gr;
					if (scope.graphRef) {
						gr = scope.graphRef;
					} else {
						var menu = item.parentMenu.parentMenu;
						var toolbar = menu.up().up();
						gr = toolbar.up();
					}
					
					gr.GraphVis.changeLayout('circle', {
						// layout config options go here
					});
				} // END DEFAULT CIRCULAR LAYOUT
			}] // END CIRCULAR LAYOUT MENU
		}, {
			text: "Grid Layouts",
			menu: [{
				text: "Default",
				handler: function(item) {
					var gr;
					if (scope.graphRef) {
						gr = scope.graphRef;
					} else {
						var menu = item.parentMenu.parentMenu;
						var toolbar = menu.up().up();
						gr = toolbar.up();
					}
					
					gr.GraphVis.changeLayout('grid', {
						// layout config options go here
					});
				} // END DEFAULT GRID LAYOUT
			}] // END GRID LAYOUT MENUS
		}, {
			text: "Hierarchical Layouts",
			menu: [{
				text: "Breadth-First",
				handler: function(item) {
					var gr;
					if (scope.graphRef) {
						gr = scope.graphRef;
					} else {
						var menu = item.parentMenu.parentMenu;
						var toolbar = menu.up().up();
{'fraction_non_alphanumeric': 0.14296028880866427, 'fraction_numerical': 0.0, 'mean_word_length': 2.1381653454133636, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3406267', 'n_tokens_mistral': 1301, 'n_tokens_neox': 912, 'n_words': 219}