diff options
author | nagarjun <nagarjun@gnowledge.org> | 2012-07-07 21:00:30 +0530 |
---|---|---|
committer | nagarjun <nagarjun@gnowledge.org> | 2012-07-07 21:00:30 +0530 |
commit | c880d7f66b4fdbdb6369eefb55d8bbe912bcc66e (patch) | |
tree | f05785e3f520a6758b632a5672500eb3f012729f /objectapp/templates/objectapp | |
parent | 91e1425abd4f1ef62a2fc6087dca51703fed4a08 (diff) | |
download | gnowsys-c880d7f66b4fdbdb6369eefb55d8bbe912bcc66e.tar.gz |
removed ellipse effect in the graph from nighbouring nodes for better readability by 0 values. kept ellipse function as it is
Diffstat (limited to 'objectapp/templates/objectapp')
-rw-r--r-- | objectapp/templates/objectapp/skeleton.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/objectapp/templates/objectapp/skeleton.html b/objectapp/templates/objectapp/skeleton.html index 3ae65f61..96459574 100644 --- a/objectapp/templates/objectapp/skeleton.html +++ b/objectapp/templates/objectapp/skeleton.html @@ -453,7 +453,7 @@ var q = 110 + "%"; .linkStrength(0.5) .charge(-5000) .friction(0.7) - .gravity(0.7) + .gravity(0.5) .linkDistance(50) .nodes([]) .links([]) @@ -695,7 +695,7 @@ $(window).bind('keydown',function(event) { new_g.filter(function(d) { return (d._id).charAt(0)=="-"; }).append("svg:rect") .attr("x",bbox.x-22) .attr("y", bbox.y) - .attr("width", function(d) {var ttx=d.screen_name ; return (ttx.length +bbox.width+40)}) + .attr("width", function(d) {var ttx=d.screen_name ; return (ttx.length +bbox.width+50)}) .attr("height", bbox.height) .call(force.drag) .style("fill-opacity", ".1") @@ -712,12 +712,12 @@ $(window).bind('keydown',function(event) { .attr("cx", bbox.x+25) .attr("cy", bbox.y+13) .call(force.drag) - .attr("rx",function(d) {var ttx=d.screen_name ; return (ttx.length + 40)}) + .attr("rx",function(d) {var ttx=d.screen_name ; return (ttx.length + 70)}) .attr("ry",13) - .style("fill-opacity", ".2") - .style("stroke", "#666") - .style("stroke-width", "1.5px") + .style("fill-opacity", "0.3") + .style("stroke", "white") + .style("stroke-width", "0.0px") .style("fill", function(d) {if ((d.expanded=="true" && d.refType=="Gbobject") ||(d._id=={{object.id}}) ) return "red"; else if(d.expanded=="true" && d.refType=="Objecttype") return "blue"; else return "none"}) |