1
0
Fork 0

GraphViewer: Increased Default Min-size of NodeRadius from 1px to 4px

This commit is contained in:
Michael Hackstein 2013-05-23 15:07:59 +02:00
parent d77e78a3fe
commit cbcad7db60
4 changed files with 5 additions and 5 deletions

View File

@ -313,7 +313,7 @@ function ArangoAdapter(nodes, edges, config) {
bindVars["@nodes"] = nodeCollection;
}
if (query !== queries.childrenCentrality) {
bindVars["@dir"] = direction;
bindVars.dir = direction;
}
bindVars["@edges"] = edgeCollection;
var data = {

View File

@ -105,7 +105,7 @@ function ZoomManager(width, height, svg, g, nodeShaper, edgeShaper, config, limi
var fontMax = conf.maxFont || 16,
fontMin = conf.minFont || 6,
rMax = conf.maxRadius || 25,
rMin = conf.minRadius || 1;
rMin = conf.minRadius || 4;
baseDist = conf.focusZoom || 1;
baseDRadius = conf.focusRadius || 100;

View File

@ -319,7 +319,7 @@
bindVars: {
id: id,
"@nodes": nods,
"@dir": dir,
dir: dir,
"@edges": edgs
}
});
@ -338,7 +338,7 @@
bindVars: {
value: v,
"@nodes": nods,
"@dir": dir,
dir: dir,
"@edges": edgs
}
});

View File

@ -214,7 +214,7 @@
fontMax = 16;
fontMin = 6;
radMax = 25;
radMin = 1;
radMin = 4;
distRBase = 100;
minScale = radMin / radMax;
toggleScale = fontMin / fontMax;