mirror of https://gitee.com/bigwinds/arangodb
GraphViewer: Increased Default Min-size of NodeRadius from 1px to 4px
This commit is contained in:
parent
d77e78a3fe
commit
cbcad7db60
|
@ -313,7 +313,7 @@ function ArangoAdapter(nodes, edges, config) {
|
||||||
bindVars["@nodes"] = nodeCollection;
|
bindVars["@nodes"] = nodeCollection;
|
||||||
}
|
}
|
||||||
if (query !== queries.childrenCentrality) {
|
if (query !== queries.childrenCentrality) {
|
||||||
bindVars["@dir"] = direction;
|
bindVars.dir = direction;
|
||||||
}
|
}
|
||||||
bindVars["@edges"] = edgeCollection;
|
bindVars["@edges"] = edgeCollection;
|
||||||
var data = {
|
var data = {
|
||||||
|
|
|
@ -105,7 +105,7 @@ function ZoomManager(width, height, svg, g, nodeShaper, edgeShaper, config, limi
|
||||||
var fontMax = conf.maxFont || 16,
|
var fontMax = conf.maxFont || 16,
|
||||||
fontMin = conf.minFont || 6,
|
fontMin = conf.minFont || 6,
|
||||||
rMax = conf.maxRadius || 25,
|
rMax = conf.maxRadius || 25,
|
||||||
rMin = conf.minRadius || 1;
|
rMin = conf.minRadius || 4;
|
||||||
baseDist = conf.focusZoom || 1;
|
baseDist = conf.focusZoom || 1;
|
||||||
baseDRadius = conf.focusRadius || 100;
|
baseDRadius = conf.focusRadius || 100;
|
||||||
|
|
||||||
|
|
|
@ -319,7 +319,7 @@
|
||||||
bindVars: {
|
bindVars: {
|
||||||
id: id,
|
id: id,
|
||||||
"@nodes": nods,
|
"@nodes": nods,
|
||||||
"@dir": dir,
|
dir: dir,
|
||||||
"@edges": edgs
|
"@edges": edgs
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -338,7 +338,7 @@
|
||||||
bindVars: {
|
bindVars: {
|
||||||
value: v,
|
value: v,
|
||||||
"@nodes": nods,
|
"@nodes": nods,
|
||||||
"@dir": dir,
|
dir: dir,
|
||||||
"@edges": edgs
|
"@edges": edgs
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -214,7 +214,7 @@
|
||||||
fontMax = 16;
|
fontMax = 16;
|
||||||
fontMin = 6;
|
fontMin = 6;
|
||||||
radMax = 25;
|
radMax = 25;
|
||||||
radMin = 1;
|
radMin = 4;
|
||||||
distRBase = 100;
|
distRBase = 100;
|
||||||
minScale = radMin / radMax;
|
minScale = radMin / radMax;
|
||||||
toggleScale = fontMin / fontMax;
|
toggleScale = fontMin / fontMax;
|
||||||
|
|
Loading…
Reference in New Issue