# HG changeset patch # User Nobuyasu Oshiro # Date 1363460640 -32400 # Node ID 9bf5e984f28804d713e6fb4762abcd2a5e01ea33 # Parent 88c16240c78a13f25524404203fdb494a300b1cb modified label diff -r 88c16240c78a -r 9bf5e984f288 public/viewer/viewer_white.html --- 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:""+"",cssStyle:"color:white"}); + c.setLabel({label:""+rel+"",cssStyle:"color:black"}); } jsPlumb.removeAllEndpoints(); jsPlumb.draggable($('.graphNode'));