Commit d5d97178 authored by Romain Loth's avatar Romain Loth

arf fix: again shouldn't push from downstream subtree anymore

parent 7376b4f8
......@@ -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,10 +28,10 @@ TW.conf = (function(TW){
// Related documents (topPapers) data source
// -----------------------------------------
TWConf.getRelatedDocs = false
TWConf.getRelatedDocs = true
TWConf.relatedDocsMax = 10
TWConf.relatedDocsType = "twitter" // accepted: "twitter" | "LocalDB"
TWConf.relatedDocsType = "LocalDB" // accepted: "twitter" | "LocalDB"
// POSSible: "elastic"
TWConf.relatedDocsAPIS = {
......@@ -41,7 +41,7 @@ TW.conf = (function(TW){
}
// 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
......@@ -158,8 +158,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
......@@ -181,7 +181,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
......@@ -213,7 +213,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
......@@ -283,7 +283,7 @@ TW.conf = (function(TW){
// -----------------------------------
// mouse captor zoom limits
TWConf.zoomMin = .015625 // for zoom IN (ex: 1/64 to allow zoom x64)
TWConf.zoomMax = 8 // for zoom OUT
TWConf.zoomMax = 2 // for zoom OUT
// circle selection cursor
TWConf.circleSizeMin = 0;
......@@ -299,7 +299,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