Skip to content

Commit 738af3f

Browse files
fixing bugs in config of graph
1 parent bdfbb11 commit 738af3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/viewer/woqlGraph.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,16 @@ WOQLGraph.prototype.addAdornedEdge = function(source, target, ks, kt, row){
9393
hid = rule.hidden;
9494
}
9595
if(rule.size){
96-
edge.radius = UTILS.getConfigValue(rule.size, row);
96+
edge.size = UTILS.getConfigValue(rule.size, row);
9797
}
9898
if(rule.text){
9999
edge.text = UTILS.getConfigValue(rule.text, row);
100100
}
101101
if(rule.color){
102102
edge.color = UTILS.getConfigValue(rule.color, row);
103+
}
104+
if(rule.icon ){
105+
edge.icon = UTILS.getConfigValue(rule.icon, row);
103106
}
104107
if(rule.distance){
105108
edge.distance = UTILS.getConfigValue(rule.distance, row);

0 commit comments

Comments
 (0)