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;
|
||||
}
|
||||
if (query !== queries.childrenCentrality) {
|
||||
bindVars["@dir"] = direction;
|
||||
bindVars.dir = direction;
|
||||
}
|
||||
bindVars["@edges"] = edgeCollection;
|
||||
var data = {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
fontMax = 16;
|
||||
fontMin = 6;
|
||||
radMax = 25;
|
||||
radMin = 1;
|
||||
radMin = 4;
|
||||
distRBase = 100;
|
||||
minScale = radMin / radMax;
|
||||
toggleScale = fontMin / fontMax;
|
||||
|
|
Loading…
Reference in New Issue