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
7376b4f8
Commit
7376b4f8
authored
Jul 07, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show country and another fix tina settings for comex
parent
b983583e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
settings_explorerjs.js
settings_explorerjs.js
+14
-14
settings_explorerjs.comex.js
twpresets/settings_explorerjs.comex.js
+3
-3
No files found.
settings_explorerjs.js
View file @
7376b4f8
...
@@ -6,8 +6,8 @@ TW.conf = (function(TW){
...
@@ -6,8 +6,8 @@ TW.conf = (function(TW){
let
TWConf
=
{}
let
TWConf
=
{}
TWConf
.
branding
=
'
ProjectExplorer
'
// <--- name displayed in upper left
TWConf
.
branding
=
'
Community Explorer 2
'
// <--- name displayed in upper left
TWConf
.
brandingLink
=
'https://
github.com/moma/ProjectExplorer
'
// <--- link to "home"
TWConf
.
brandingLink
=
'https://
communityexplorer.org
'
// <--- link to "home"
// ==========================
// ==========================
...
@@ -17,7 +17,7 @@ TW.conf = (function(TW){
...
@@ -17,7 +17,7 @@ TW.conf = (function(TW){
// Graph data source
// Graph data source
// -----------------
// -----------------
// the graph input depends on TWConf.sourcemode (or manual url arg 'sourcemode')
// the graph input depends on TWConf.sourcemode (or manual url arg 'sourcemode')
TWConf
.
sourcemode
=
"
servermenu
"
// accepted: "api" | "serverfile" | "servermenu" | "localfile"
TWConf
.
sourcemode
=
"
api
"
// accepted: "api" | "serverfile" | "servermenu" | "localfile"
// ...or remote bridge to default source api ajax queries
// ...or remote bridge to default source api ajax queries
TWConf
.
sourceAPI
=
{};
TWConf
.
sourceAPI
=
{};
...
@@ -28,7 +28,7 @@ TW.conf = (function(TW){
...
@@ -28,7 +28,7 @@ TW.conf = (function(TW){
// Related documents (topPapers) data source
// Related documents (topPapers) data source
// -----------------------------------------
// -----------------------------------------
TWConf
.
getRelatedDocs
=
tru
e
TWConf
.
getRelatedDocs
=
fals
e
TWConf
.
relatedDocsMax
=
10
TWConf
.
relatedDocsMax
=
10
TWConf
.
relatedDocsType
=
"twitter"
// accepted: "twitter" | "LocalDB"
TWConf
.
relatedDocsType
=
"twitter"
// accepted: "twitter" | "LocalDB"
...
@@ -41,7 +41,7 @@ TW.conf = (function(TW){
...
@@ -41,7 +41,7 @@ TW.conf = (function(TW){
}
}
// fallback topPapers API if none found by type
// fallback topPapers API if none found by type
TWConf
.
relatedDocsAPI
=
"
twbackends/phpAPI
"
TWConf
.
relatedDocsAPI
=
"
http://127.0.0.1:5000/twitter_search
"
// =======================
// =======================
// DATA FACETS AND LEGENDS
// DATA FACETS AND LEGENDS
...
@@ -158,9 +158,9 @@ TW.conf = (function(TW){
...
@@ -158,9 +158,9 @@ TW.conf = (function(TW){
// Modules path
// Modules path
// ------------
// ------------
TWConf
.
paths
=
{
TWConf
.
paths
=
{
'ourlibs'
:
'
twlibs'
,
'ourlibs'
:
'static/tinawebJS/
twlibs'
,
'templates'
:
"twlibs/hit_templates"
,
'templates'
:
'static/tinawebJS/twlibs/hit_templates'
,
'modules'
:
'twmodules'
,
'modules'
:
'twmodules'
,
'sourceFile'
:
""
,
// server-side .gexf|.json default source
'sourceFile'
:
""
,
// server-side .gexf|.json default source
'sourceMenu'
:
"db.json"
// ...or server-side gexf default source list
'sourceMenu'
:
"db.json"
// ...or server-side gexf default source list
...
@@ -213,7 +213,7 @@ TW.conf = (function(TW){
...
@@ -213,7 +213,7 @@ TW.conf = (function(TW){
// if fa2Available, the auto-run config:
// if fa2Available, the auto-run config:
TWConf
.
fa2Enabled
=
true
;
// fa2 auto-run at start and after graph modified ?
TWConf
.
fa2Enabled
=
true
;
// fa2 auto-run at start and after graph modified ?
TWConf
.
fa2Milliseconds
=
2
000
;
// duration of auto-run
TWConf
.
fa2Milliseconds
=
10
000
;
// duration of auto-run
TWConf
.
minNodesForAutoFA2
=
5
// graph size threshold to auto-run
TWConf
.
minNodesForAutoFA2
=
5
// graph size threshold to auto-run
...
@@ -270,10 +270,10 @@ TW.conf = (function(TW){
...
@@ -270,10 +270,10 @@ TW.conf = (function(TW){
twSelectedColor
:
"default"
,
// "node" for a label bg like the node color,
twSelectedColor
:
"default"
,
// "node" for a label bg like the node color,
// "default" for note-like yellow
// "default" for note-like yellow
// not selected <=>
grey
// not selected <=>
(1-greyness)
twNodesGreyOpacity
:
.
3
5
,
// smaller value: more grey
twNodesGreyOpacity
:
.
5
,
// smaller value: more grey
twBorderGreyColor
:
"rgba(100, 100, 100, 0.5)"
,
twBorderGreyColor
:
"rgba(100, 100, 100, 0.5)"
,
twEdgeGreyColor
:
"rgba(100, 100, 100, 0.
2
)"
,
twEdgeGreyColor
:
"rgba(100, 100, 100, 0.
3
)"
,
};
};
// NB: sigmaJsDrawingProperties are available as 'settings' in all renderers
// NB: sigmaJsDrawingProperties are available as 'settings' in all renderers
// cf. https://github.com/jacomyal/sigma.js/wiki/Settings#renderers-settings
// cf. https://github.com/jacomyal/sigma.js/wiki/Settings#renderers-settings
...
@@ -283,7 +283,7 @@ TW.conf = (function(TW){
...
@@ -283,7 +283,7 @@ TW.conf = (function(TW){
// -----------------------------------
// -----------------------------------
// mouse captor zoom limits
// mouse captor zoom limits
TWConf
.
zoomMin
=
.
015625
// for zoom IN (ex: 1/64 to allow zoom x64)
TWConf
.
zoomMin
=
.
015625
// for zoom IN (ex: 1/64 to allow zoom x64)
TWConf
.
zoomMax
=
2
// for zoom OUT
TWConf
.
zoomMax
=
8
// for zoom OUT
// circle selection cursor
// circle selection cursor
TWConf
.
circleSizeMin
=
0
;
TWConf
.
circleSizeMin
=
0
;
...
@@ -299,7 +299,7 @@ TW.conf = (function(TW){
...
@@ -299,7 +299,7 @@ TW.conf = (function(TW){
// relative sizes (iff ChangeType == both nodetypes)
// relative sizes (iff ChangeType == both nodetypes)
TWConf
.
sizeMult
=
[];
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)
TWConf
.
sizeMult
[
1
]
=
10.0
;
// ie for node type 1 (<=> soc)
...
...
twpresets/settings_explorerjs.comex.js
View file @
7376b4f8
...
@@ -158,9 +158,9 @@ TW.conf = (function(TW){
...
@@ -158,9 +158,9 @@ TW.conf = (function(TW){
// Modules path
// Modules path
// ------------
// ------------
TWConf
.
paths
=
{
TWConf
.
paths
=
{
'ourlibs'
:
'
twlibs'
,
'ourlibs'
:
'static/tinawebJS/
twlibs'
,
'templates'
:
"twlibs/hit_templates"
,
'templates'
:
'static/tinawebJS/twlibs/hit_templates'
,
'modules'
:
'twmodules'
,
'modules'
:
'twmodules'
,
'sourceFile'
:
""
,
// server-side .gexf|.json default source
'sourceFile'
:
""
,
// server-side .gexf|.json default source
'sourceMenu'
:
"db.json"
// ...or server-side gexf default source list
'sourceMenu'
:
"db.json"
// ...or server-side gexf default source list
...
...
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