enmi12/glossaire/graph/config.js
changeset 0 d970ebf37754
equal deleted inserted replaced
-1:000000000000 0:d970ebf37754
       
     1 /*** USE THIS FILE TO SET OPTIONS ***/
       
     2 
       
     3 setParams({
       
     4     graphFile : "enmi12.gexf",
       
     5         /*
       
     6             The GEXF file to show ! -- can be overriden by adding
       
     7             a hash to the document location, e.g. index.html#celegans.gexf
       
     8         */
       
     9 	showEdges : true,
       
    10         /*
       
    11             Default state of the "show edges" button
       
    12         */
       
    13     useLens : false,
       
    14         /*
       
    15             Default state of the "use lens" button
       
    16         */
       
    17     zoomLevel : 0,
       
    18         /*
       
    19             Default zoom level. At zoom = 0, the graph should fill a 800x700px zone
       
    20          */
       
    21     curvedEdges : true,
       
    22         /*
       
    23             False for curved edges, true for straight edges
       
    24             this setting can't be changed from the User Interface
       
    25         */
       
    26     edgeWidthFactor : 1,
       
    27         /*
       
    28             Change this parameter for wider or narrower edges
       
    29             this setting can't be changed from the User Interface
       
    30         */
       
    31     minEdgeWidth : 1,
       
    32     maxEdgeWidth : 50,
       
    33     textDisplayThreshold: 9,
       
    34     nodeSizeFactor : 1,
       
    35         /*
       
    36             Change this parameter for smaller or larger nodes
       
    37            this setting can't be changed from the User Interface
       
    38         */
       
    39     replaceUrls : true,
       
    40         /*
       
    41             Enable the replacement of Urls by Hyperlinks
       
    42             this setting can't be changed from the User Interface
       
    43         */
       
    44     showEdgeWeight : true,
       
    45         /*
       
    46             Show the weight of edges in the list
       
    47             this setting can't be changed from the User Interface
       
    48         */
       
    49     language: false
       
    50         /*
       
    51             Set to an ISO language code to switch the interface to that language.
       
    52             Available languages are English [en], French [fr], Spanish [es],
       
    53             Italian [it], Finnish [fi], Turkish [tr] and Greek [el].
       
    54             If set to false, the language will be that of the user's browser.
       
    55         */
       
    56 });