enmi12/glossaire/graph/config.js
author ymh <ymh.work@gmail.com>
Mon, 08 Sep 2025 19:44:41 +0200
changeset 23 417f20492bf7
parent 0 d970ebf37754
permissions -rwxr-xr-x
Update Docker configuration and plugin versions - Upgrade MariaDB from 10.6 to 11 with auto-upgrade support - Add WordPress debug environment variable to FPM container - Update PHP-FPM Dockerfile base image - Update Include Mastodon Feed plugin with bug fixes and improvements - Update Portfolio plugin (v2.58) with latest translations and demo data enhancements - Remove old README.md from Mastodon Feed plugin 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
/*** USE THIS FILE TO SET OPTIONS ***/
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
setParams({
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
    graphFile : "enmi12.gexf",
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
            The GEXF file to show ! -- can be overriden by adding
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
            a hash to the document location, e.g. index.html#celegans.gexf
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
	showEdges : true,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
            Default state of the "show edges" button
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
    useLens : false,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
            Default state of the "use lens" button
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
    zoomLevel : 0,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
            Default zoom level. At zoom = 0, the graph should fill a 800x700px zone
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
         */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
    curvedEdges : true,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
            False for curved edges, true for straight edges
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
            this setting can't be changed from the User Interface
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
    edgeWidthFactor : 1,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
            Change this parameter for wider or narrower edges
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
            this setting can't be changed from the User Interface
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
    minEdgeWidth : 1,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
    maxEdgeWidth : 50,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
    textDisplayThreshold: 9,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
    nodeSizeFactor : 1,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
            Change this parameter for smaller or larger nodes
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
           this setting can't be changed from the User Interface
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
    replaceUrls : true,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
            Enable the replacement of Urls by Hyperlinks
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
            this setting can't be changed from the User Interface
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
    showEdgeWeight : true,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
            Show the weight of edges in the list
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
            this setting can't be changed from the User Interface
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
    language: false
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
        /*
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
            Set to an ISO language code to switch the interface to that language.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
            Available languages are English [en], French [fr], Spanish [es],
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
            Italian [it], Finnish [fi], Turkish [tr] and Greek [el].
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
            If set to false, the language will be that of the user's browser.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
        */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
});