integ/renkan/js/defaults.js
changeset 51 504ae70e799e
parent 50 3508fa894b90
child 68 308c6ad11eab
equal deleted inserted replaced
50:3508fa894b90 51:504ae70e799e
    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     force_resize: false,
    28     force_resize: false,
    29     allow_double_click: true,
    29     allow_double_click: true,
    30         /* Allows Double Click to create a node on an empty background */
    30         /* Allows Double Click to create a node on an empty background */
    31     element_delete_delay: 5000,
    31     element_delete_delay: 5000,
       
    32         /* Delay between clicking on the bin on an element and really deleting it */
       
    33     autoscale_padding: 50,
    32     
    34     
    33     /* MINI-MAP OPTIONS */
    35     /* MINI-MAP OPTIONS */
    34     
    36     
    35     show_minimap: true,
    37     show_minimap: true,
    36         /* Show a small map at the bottom right */
    38         /* Show a small map at the bottom right */
    37     minimap_width: 160,
    39     minimap_width: 160,
    38     minimap_height: 120,
    40     minimap_height: 120,
       
    41     minimap_padding: 20,
    39     minimap_background_color: "#ffffff",
    42     minimap_background_color: "#ffffff",
    40     minimap_border_color: "#cccccc",
    43     minimap_border_color: "#cccccc",
    41     minimap_highlight_color: "#ffff00",
    44     minimap_highlight_color: "#ffff00",
    42     minimap_highlight_weight: 5,
    45     minimap_highlight_weight: 5,
    43     
    46     
    84     tooltip_arrow_length : 20,
    87     tooltip_arrow_length : 20,
    85     tooltip_arrow_width : 40,
    88     tooltip_arrow_width : 40,
    86     tooltip_top_color: "#f0f0f0",
    89     tooltip_top_color: "#f0f0f0",
    87     tooltip_bottom_color: "#d0d0d0",
    90     tooltip_bottom_color: "#d0d0d0",
    88     tooltip_border_color: "#808080",
    91     tooltip_border_color: "#808080",
    89     tooltip_border_width: 1
    92     tooltip_border_width: 1,
       
    93     
       
    94     /* NODE EDITOR OPTIONS */
       
    95     
       
    96     show_node_editor_uri: true,
       
    97     show_node_editor_description: true,
       
    98     show_node_editor_size: true,
       
    99     show_node_editor_color: true,
       
   100     show_node_editor_image: true,
       
   101     show_node_editor_creator: true,
       
   102     
       
   103     /* NODE TOOLTIP OPTIONS */
       
   104     
       
   105     show_node_tooltip_uri: true,
       
   106     show_node_tooltip_description: true,
       
   107     show_node_tooltip_color: true,
       
   108     show_node_tooltip_image: true,
       
   109     show_node_tooltip_creator: true,
       
   110     
       
   111     /* EDGE EDITOR OPTIONS */
       
   112     
       
   113     show_edge_editor_uri: true,
       
   114     show_edge_editor_color: true,
       
   115     show_edge_editor_direction: true,
       
   116     show_edge_editor_nodes: true,
       
   117     show_edge_editor_creator: true,
       
   118     
       
   119     /* EDGE TOOLTIP OPTIONS */
       
   120     
       
   121     show_edge_tooltip_uri: true,
       
   122     show_edge_tooltip_color: true,
       
   123     show_edge_tooltip_nodes: true,
       
   124     show_edge_tooltip_creator: true
       
   125     
       
   126     /* */
    90     
   127     
    91 };
   128 };