Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
216e2839
Commit
216e2839
authored
Jul 20, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev settings
parent
7b15b7d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
settings_explorerjs.js
settings_explorerjs.js
+11
-11
No files found.
settings_explorerjs.js
View file @
216e2839
...
...
@@ -6,8 +6,8 @@ TW.conf = (function(TW){
let
TWConf
=
{}
TWConf
.
branding
=
'
Community Explorer 2
'
// <--- name displayed in upper left
TWConf
.
brandingLink
=
'https://
communityexplorer.org
'
// <--- link to "home"
TWConf
.
branding
=
'
ProjectExplorer
'
// <--- name displayed in upper left
TWConf
.
brandingLink
=
'https://
github.com/moma/ProjectExplorer
'
// <--- link to "home"
// ==========================
...
...
@@ -17,7 +17,7 @@ TW.conf = (function(TW){
// Graph data source
// -----------------
// the graph input depends on TWConf.sourcemode (or manual url arg 'sourcemode')
TWConf
.
sourcemode
=
"
api
"
// accepted: "api" | "serverfile" | "servermenu" | "localfile"
TWConf
.
sourcemode
=
"
servermenu
"
// accepted: "api" | "serverfile" | "servermenu" | "localfile"
// ...or remote bridge to default source api ajax queries
TWConf
.
sourceAPI
=
{};
...
...
@@ -28,7 +28,7 @@ TW.conf = (function(TW){
// Related documents (topPapers) data source
// -----------------------------------------
TWConf
.
getRelatedDocs
=
fals
e
TWConf
.
getRelatedDocs
=
tru
e
TWConf
.
relatedDocsMax
=
10
// fallback type (if no detailed source-by-source conf from db.json)
...
...
@@ -37,13 +37,13 @@ TW.conf = (function(TW){
// routes by corresponding type
TWConf
.
relatedDocsAPIS
=
{
"twitter"
:
"http://1
27.0.0.1:5000
/twitter_search"
,
"twitter"
:
"http://1
34.158.74.111
/twitter_search"
,
"CortextDB"
:
"twbackends/phpAPI"
,
"csv"
:
"twbackends/phpAPI"
}
// fallback topPapers API if none found by type
TWConf
.
relatedDocsAPI
=
"
http://127.0.0.1:5000/twitter_search
"
TWConf
.
relatedDocsAPI
=
"
twbackends/phpAPI
"
// =======================
// DATA FACETS AND LEGENDS
...
...
@@ -160,8 +160,8 @@ TW.conf = (function(TW){
// Modules path
// ------------
TWConf
.
paths
=
{
'ourlibs'
:
'
static/tinawebJS/
twlibs'
,
'templates'
:
'
static/tinawebJS/
twlibs/hit_templates'
,
'ourlibs'
:
'twlibs'
,
'templates'
:
'twlibs/hit_templates'
,
'modules'
:
'twmodules'
,
'sourceFile'
:
""
,
// server-side .gexf|.json default source
...
...
@@ -183,7 +183,7 @@ TW.conf = (function(TW){
// Other GUI options
// ------------------
TWConf
.
sidePanelSize
=
"
3
00px"
// width of the side panel (def: 400px)
TWConf
.
sidePanelSize
=
"
4
00px"
// width of the side panel (def: 400px)
TWConf
.
filterSliders
=
true
// show sliders for nodes/edges subsets
...
...
@@ -215,7 +215,7 @@ TW.conf = (function(TW){
// if fa2Available, the auto-run config:
TWConf
.
fa2Enabled
=
true
;
// fa2 auto-run at start and after graph modified ?
TWConf
.
fa2Milliseconds
=
10
000
;
// duration of auto-run
TWConf
.
fa2Milliseconds
=
2
000
;
// duration of auto-run
TWConf
.
minNodesForAutoFA2
=
5
// graph size threshold to auto-run
...
...
@@ -305,7 +305,7 @@ TW.conf = (function(TW){
// relative sizes (iff ChangeType == both nodetypes)
TWConf
.
sizeMult
=
[];
TWConf
.
sizeMult
[
0
]
=
1.0
;
// ie for node type 0 (<=> sem)
TWConf
.
sizeMult
[
0
]
=
1.0
;
// ie for node type 0 (<=> sem)
TWConf
.
sizeMult
[
1
]
=
10.0
;
// ie for node type 1 (<=> soc)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment