Mercurial > hg > Members > nobuyasu > Consensus
changeset 105:9bf5e984f288 draft
modified label
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 17 Mar 2013 04:04:00 +0900 |
parents | 88c16240c78a |
children | 60a0ff0b3096 |
files | public/viewer/viewer_white.html |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/public/viewer/viewer_white.html Sun Mar 17 03:55:08 2013 +0900 +++ b/public/viewer/viewer_white.html Sun Mar 17 04:04:00 2013 +0900 @@ -35,6 +35,10 @@ color:silver; font-size:40px; } +span.edgeLabel { + +} + div.graphNode { position:absolute; font-size:12px; padding:4px; background:white; @@ -316,7 +320,8 @@ var stateMachineConnector = { connector:"StateMachine", - paintStyle:{lineWidth:3,strokeStyle:"#056"}, +// paintStyle:{lineWidth:3,strokeStyle:"#056"}, + paintStyle:{lineWidth:2,strokeStyle:"#aaf"}, hoverPaintStyle:{strokeStyle:"#dbe300"}, endpoint:"Blank", anchor:"Continuous", @@ -330,7 +335,7 @@ var toNode = array[i].to; var rel = array[i].rel; var c = jsPlumb.connect({source:fromNode.view[0], target:toNode.view[0]}, stateMachineConnector); - c.setLabel({label:"<span style='color:white;'>"+"</span>",cssStyle:"color:white"}); + c.setLabel({label:"<span style='color:black;'>"+rel+"</span>",cssStyle:"color:black"}); } jsPlumb.removeAllEndpoints(); jsPlumb.draggable($('.graphNode'));