Commit 97c0ccce authored by Romain Loth's avatar Romain Loth

cleanup comments and change font

parent e9f27795
......@@ -9,6 +9,10 @@
"ProgrammeDesCandidats.gexf": {
"social": {},
"semantic": {}
},
"ProgrammeDesCandidats.sans_outliers.gexf": {
"social": {},
"semantic": {}
}
}
},
......
......@@ -25,7 +25,7 @@
<!-- Crete Round
Original *and* informative :) -->
<!-- <link href='https://fonts.googleapis.com/css?family=Crete+Round:400,400italic&subset=latin-ext' rel='stylesheet' type='text/css'> -->
<link href='https://fonts.googleapis.com/css?family=Crete+Round:400,400italic&subset=latin-ext' rel='stylesheet' type='text/css'>
<!-- Lora
"book" (roman style) + nice heading -->
......
......@@ -143,8 +143,8 @@ var sigmaJsDrawingProperties = {
twNodeRendBorderColor: "#222",
// twNodeRendBorderColor: "#eee",
// font: "Crete Round",
font: "Ubuntu Condensed",
font: "Crete Round",
// font: "Ubuntu Condensed",
fontStyle: "bold",
};
var sigmaJsGraphProperties = {
......
......@@ -845,7 +845,7 @@ TinaWebJS = function ( sigmacanvas ) {
labelSizeTimeout = setTimeout(function(){
if (TW.partialGraph.settings('labelSizeRatio') != value) {
var adaptedLabelThreshold = (5 - value) + 1
console.log("value", value, "thres", adaptedLabelThreshold)
// console.log("value", value, "thres", adaptedLabelThreshold)
TW.partialGraph.settings('labelSizeRatio', value)
TW.partialGraph.settings('labelThreshold', adaptedLabelThreshold)
......@@ -920,6 +920,7 @@ TinaWebJS = function ( sigmacanvas ) {
winResizeTimeout = setTimeout(function() {
console.log('did refresh')
TW.partialGraph.refresh()
theHtml.classList.remove('waiting');
}, 3000)
}, true)
......
......@@ -503,10 +503,6 @@ function EdgeWeightFilter(sliderDivID , type_attrb , type , criteria) {
var steps = filterparams["steps"]
// TODO polito filterparams comes back like this {steps:0, finalarray:[]}
console.warn("overriding steps")
steps = 2
var finalarray = filterparams["finalarray"]
// if(steps<3) {
// $(sliderDivID).freshslider({
......
......@@ -181,8 +181,8 @@ if(RES["OK"]) {
console.log("parsing the data")
var start = new ParseCustom( fileparam , the_data );
var categories = start.scanFile(); //user should choose the order of categories
console.error("Categories: ")
console.log(categories)
// console.log("Categories: ")
// console.log(categories)
if (! categories) {
console.warn ('ParseCustom scanFile found no categories!!')
......
......@@ -409,7 +409,7 @@ function dictfyGexf( gexf , categories ){
}
}
console.warn ('parseCustom output nodes', nodes)
// console.warn ('parseCustom output nodes', nodes)
// -------------- debug: for local stats ----------------
// allSizes.sort();
......@@ -492,7 +492,7 @@ function dictfyGexf( gexf , categories ){
// console.debug('>>> tr: read edge', edge)
if ( nodes[source] && nodes[target] ) {
console.debug('>>> tr: new edge has matching source and target nodes')
// console.debug('>>> tr: new edge has matching source and target nodes')
idS=nodes[source].type;
idT=nodes[target].type;
......
......@@ -8,8 +8,8 @@ SigmaUtils = function () {
console.log("Filling the graaaaph:")
console.log("FillGraph catDict",catDict)
console.log("FillGraph nodes",nodes)
console.log("FillGraph edges",edges)
// console.log("FillGraph nodes",nodes)
// console.log("FillGraph edges",edges)
for(var i in nodes) {
var n = nodes[i];
// console.debug('tr >>> fgr node', n)
......
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