Commit 216e2839 authored by Romain Loth's avatar Romain Loth

dev settings

parent 7b15b7d5
......@@ -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 = false
TWConf.getRelatedDocs = true
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://127.0.0.1:5000/twitter_search",
"twitter": "http://134.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 = "300px" // width of the side panel (def: 400px)
TWConf.sidePanelSize = "400px" // 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=10000; // duration of auto-run
TWConf.fa2Milliseconds=2000; // 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment