--- a/client/js/defaults.js Fri May 16 17:36:21 2014 +0200
+++ b/client/js/defaults.js Sun May 18 10:31:12 2014 +0200
@@ -1,5 +1,5 @@
Rkns.defaults = {
-
+
language: (navigator.language || navigator.userLanguage || "en"),
/* GUI Language */
container: "renkan",
@@ -38,13 +38,14 @@
autoscale_padding: 50,
default_view: false,
/* Allows to load default view (zoom+offset) at start on read_only mode, instead of autoScale. default_view has to be an integer 0,1,2... */
-
+
/* TOP BAR BUTTONS */
show_search_field: true,
show_user_list: true,
user_name_editable: true,
user_color_editable: true,
show_save_button: true,
+ show_export_button: true,
show_open_button: false,
show_addnode_button: true,
show_addedge_button: true,
@@ -52,9 +53,9 @@
show_fullscreen_button: true,
home_button_url: false,
home_button_title: "Home",
-
+
/* MINI-MAP OPTIONS */
-
+
show_minimap: true,
/* Show a small map at the bottom right */
minimap_width: 160,
@@ -64,15 +65,15 @@
minimap_border_color: "#cccccc",
minimap_highlight_color: "#ffff00",
minimap_highlight_weight: 5,
-
+
/* EDGE/NODE COMMON OPTIONS */
-
+
buttons_background: "#202020",
buttons_label_color: "#c000c0",
buttons_label_font_size: 9,
-
+
/* NODE DISPLAY OPTIONS */
-
+
show_node_circles: true,
/* Show circles for nodes */
clip_node_images: true,
@@ -91,9 +92,9 @@
/* Maximum displayed text length */
label_untitled_nodes: "(untitled)",
/* Label to display on untitled nodes */
-
+
/* EDGE DISPLAY OPTIONS */
-
+
edge_stroke_width: 2,
selected_edge_stroke_width: 4,
edge_label_distance: 0,
@@ -102,9 +103,9 @@
edge_arrow_width: 12,
edge_gap_in_bundles: 12,
label_untitled_edges: "",
-
+
/* CONTEXTUAL DISPLAY (TOOLTIP OR EDITOR) OPTIONS */
-
+
tooltip_width: 275,
tooltip_padding: 10,
tooltip_margin: 15,
@@ -114,9 +115,9 @@
tooltip_bottom_color: "#d0d0d0",
tooltip_border_color: "#808080",
tooltip_border_width: 1,
-
+
/* NODE EDITOR OPTIONS */
-
+
show_node_editor_uri: true,
show_node_editor_description: true,
show_node_editor_size: true,
@@ -124,30 +125,30 @@
show_node_editor_image: true,
show_node_editor_creator: true,
uploaded_image_max_kb: 500,
-
+
/* NODE TOOLTIP OPTIONS */
-
+
show_node_tooltip_uri: true,
show_node_tooltip_description: true,
show_node_tooltip_color: true,
show_node_tooltip_image: true,
show_node_tooltip_creator: true,
-
+
/* EDGE EDITOR OPTIONS */
-
+
show_edge_editor_uri: true,
show_edge_editor_color: true,
show_edge_editor_direction: true,
show_edge_editor_nodes: true,
show_edge_editor_creator: true,
-
+
/* EDGE TOOLTIP OPTIONS */
-
+
show_edge_tooltip_uri: true,
show_edge_tooltip_color: true,
show_edge_tooltip_nodes: true,
show_edge_tooltip_creator: true
-
+
/* */
-
+
};