Commit 1f6a6397 authored by Romain Loth's avatar Romain Loth

adjust settings for comex

parent 627dac4a
...@@ -157,11 +157,11 @@ ...@@ -157,11 +157,11 @@
</li> </li>
--> -->
<li><a href="http://www.politoscope.org" <li><a href="https://communityexplorer.org"
class="navbar-higher" class="navbar-higher"
title="Politoscope"> title="Community Explorer">
<img src="static/explorerlibs/img2/politoscope_logo.jpg" <img src="static/explorerlibs/img2/logo.png"
style="width:60px; position:absolute; top:-60px; left:-75px; z-index:5; overflow:visible; background-color:white"> style="width:60px; position:absolute; top:-60px; left:-75px; z-index:5; overflow:visible;">
</a></li> </a></li>
<li> <li>
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
#ctlzoom { #ctlzoom {
position: fixed; position: fixed;
right: 410px; right: 310px;
bottom: 0; bottom: 0;
list-style: none; list-style: none;
padding: 0; padding: 0;
......
...@@ -25,7 +25,7 @@ html.waiting { ...@@ -25,7 +25,7 @@ html.waiting {
top: 105px; top: 105px;
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 400px; right: 300px;
z-index: 1; z-index: 1;
/* non selectable: we've got our own events here */ /* non selectable: we've got our own events here */
...@@ -40,7 +40,7 @@ html.waiting { ...@@ -40,7 +40,7 @@ html.waiting {
top: 105px; top: 105px;
bottom: 0; bottom: 0;
right: 0; right: 0;
width: 400px; width: 300px;
z-index: 2; z-index: 2;
border-left: 1px #222 solid; border-left: 1px #222 solid;
overflow-y: scroll; overflow-y: scroll;
......
...@@ -220,6 +220,7 @@ function graphResetLabelsAndSizes(){ ...@@ -220,6 +220,7 @@ function graphResetLabelsAndSizes(){
n.size = TW.Nodes[n.id].size n.size = TW.Nodes[n.id].size
} }
} }
set_ClustersLegend()
} }
// @daclass: the name of a numeric/categorical attribute from node.attributes // @daclass: the name of a numeric/categorical attribute from node.attributes
......
...@@ -37,7 +37,7 @@ TW.conf = (function(TW){ ...@@ -37,7 +37,7 @@ TW.conf = (function(TW){
TWConf.relatedDocsMax = 10 TWConf.relatedDocsMax = 10
TWConf.relatedDocsAPI = "http://127.0.0.1:5000/twitter_search" TWConf.relatedDocsAPI = "http://127.0.0.1:5000/twitter_search"
TWConf.relatedDocsType = "wosLocalDB" // accepted: "twitter" | "wosLocalDB" TWConf.relatedDocsType = "twitter" // accepted: "twitter" | "wosLocalDB"
// POSSible: "elastic" // POSSible: "elastic"
// ======================= // =======================
...@@ -201,8 +201,8 @@ TW.conf = (function(TW){ ...@@ -201,8 +201,8 @@ TW.conf = (function(TW){
// if fa2Available, the auto-run config: // if fa2Available, the auto-run config:
TWConf.fa2Enabled= false; // fa2 auto-run at start and after graph modified ? TWConf.fa2Enabled= true; // fa2 auto-run at start and after graph modified ?
TWConf.fa2Milliseconds=5000; // duration of auto-run TWConf.fa2Milliseconds=2000; // duration of auto-run
TWConf.minNodesForAutoFA2 = 5 // graph size threshold to auto-run TWConf.minNodesForAutoFA2 = 5 // graph size threshold to auto-run
...@@ -281,7 +281,7 @@ TW.conf = (function(TW){ ...@@ -281,7 +281,7 @@ TW.conf = (function(TW){
// em size range for neighbor nodes "tagcloud" (1 = "normal size") // em size range for neighbor nodes "tagcloud" (1 = "normal size")
TWConf.tagcloudFontsizeMin = .8 ; TWConf.tagcloudFontsizeMin = .8 ;
TWConf.tagcloudFontsizeMax = 2 ; TWConf.tagcloudFontsizeMax = 1.5 ;
TWConf.tagcloudSameLimit = 50 // max displayed neighbors of the same type TWConf.tagcloudSameLimit = 50 // max displayed neighbors of the same type
TWConf.tagcloudOpposLimit = 10 // max displayed neighbors of the opposite type TWConf.tagcloudOpposLimit = 10 // max displayed neighbors of the opposite type
...@@ -289,7 +289,7 @@ TW.conf = (function(TW){ ...@@ -289,7 +289,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] = 3.0; // ie for node type 1 (<=> soc) TWConf.sizeMult[1] = 2.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