client/js/defaults.js
changeset 159 1796e0220bef
parent 156 83d7a10e1ad7
child 160 408da84d4dc0
equal deleted inserted replaced
158:1563d9be4a71 159:1796e0220bef
    23 	show_top_bar: true,
    23 	show_top_bar: true,
    24 		/* Show the top bar, (title, buttons, users) */
    24 		/* Show the top bar, (title, buttons, users) */
    25 	default_user_color: "#303030",
    25 	default_user_color: "#303030",
    26 	size_bug_fix: true,
    26 	size_bug_fix: true,
    27 		/* Resize the canvas after load (fixes a bug on iPad and FF Mac) */
    27 		/* Resize the canvas after load (fixes a bug on iPad and FF Mac) */
       
    28 	allow_double_click: true,
       
    29 		/* Allows Double Click to create a node on an empty background */
    28 	
    30 	
    29 	/* MINI-MAP OPTIONS */
    31 	/* MINI-MAP OPTIONS */
    30 	
    32 	
    31     show_minimap: true,
    33     show_minimap: true,
    32     	/* Show a small map at the bottom right */
    34     	/* Show a small map at the bottom right */
    56 	highlighted_node_fill_color: "#ffff00",
    58 	highlighted_node_fill_color: "#ffff00",
    57 	node_label_distance: 5,
    59 	node_label_distance: 5,
    58 		/* Vertical distance between node and label */
    60 		/* Vertical distance between node and label */
    59 	node_label_max_length: 60,
    61 	node_label_max_length: 60,
    60 		/* Maximum displayed text length */
    62 		/* Maximum displayed text length */
       
    63 	label_untitled_nodes: "(untitled)",
       
    64 		/* Label to display on untitled nodes */
    61 	
    65 	
    62 	/* EDGE DISPLAY OPTIONS */
    66 	/* EDGE DISPLAY OPTIONS */
    63 	
    67 	
    64 	edge_stroke_width: 2,
    68 	edge_stroke_width: 2,
    65 	selected_edge_stroke_width: 4,
    69 	selected_edge_stroke_width: 4,
    66 	edge_label_distance: 0,
    70 	edge_label_distance: 0,
    67 	edge_label_max_length: 20,
    71 	edge_label_max_length: 20,
    68     edge_arrow_length: 18,
    72     edge_arrow_length: 18,
    69     edge_arrow_width: 12,
    73     edge_arrow_width: 12,
    70     edge_gap_in_bundles: 12,
    74     edge_gap_in_bundles: 12,
       
    75 	label_untitled_edges: "",
    71     
    76     
    72     /* CONTEXTUAL DISPLAY (TOOLTIP OR EDITOR) OPTIONS */
    77     /* CONTEXTUAL DISPLAY (TOOLTIP OR EDITOR) OPTIONS */
    73    
    78    
    74    	tooltip_width: 275,
    79    	tooltip_width: 275,
    75    	tooltip_padding: 10,
    80    	tooltip_padding: 10,