-
Notifications
You must be signed in to change notification settings - Fork 103
/
config.js
82 lines (81 loc) · 2.58 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*** USE THIS FILE TO SET OPTIONS ***/
GexfJS.setParams({
graphFile : "miserables.gexf",
/*
The GEXF file to show ! -- can be overriden by adding
a hash to the document location, e.g. index.html#celegans.gexf
GEXF files can now be replaced by pre-processed JSON files (use gexf2json.py)
for faster load time
*/
showEdges : true,
/*
Default state of the "show edges" button. Set to null to disable button.
*/
useLens : false,
/*
Default state of the "use lens" button. Set to null to disable button.
*/
zoomLevel : 0,
/*
Default zoom level. At zoom = 0, the graph should fill a 800x700px zone
*/
curvedEdges : true,
/*
False for curved edges, true for straight edges
this setting can't be changed from the User Interface
*/
edgeWidthFactor : 1,
/*
Change this parameter for wider or narrower edges
this setting can't be changed from the User Interface
*/
minEdgeWidth : 1,
maxEdgeWidth : 50,
textDisplayThreshold: 9,
fontSizeFactor : 1,
nodeSizeFactor : 1,
/*
Change this parameter for smaller or larger nodes
this setting can't be changed from the User Interface
*/
replaceUrls : true,
/*
Enable the replacement of Urls by Hyperlinks
this setting can't be changed from the User Interface
*/
showEdgeWeight : true,
/*
Show the weight of edges in the list
this setting can't be changed from the User Interface
*/
showEdgeLabel : true,
sortNodeAttributes: true,
/*
Alphabetically sort node attributes
*/
showId : true,
/*
Show the id of the node in the list
this setting can't be changed from the User Interface
*/
showEdgeArrow : true,
/*
Show the edge arrows when the edge is directed
this setting can't be changed from the User Interface
*/
language: false,
/*
Set to an ISO language code to switch the interface to that language.
Available languages are:
- German [de]
- English [en]
- French [fr]
- Spanish [es]
- Italian [it]
- Finnish [fi]
- Turkish [tr]
- Greek [el]
- Dutch [nl]
If set to false, the language will be that of the user's browser.
*/
});