       i += 1
 
   render: (ctx) ->
+    if @merging?
+      ctx.save()
+      setStyle(ctx, light_link_style)
+      ctx.moveTo(@merging.node.x, @merging.node.y)
+      ctx.lineTo(@merging.x, @merging.y)
+      ctx.stroke()
+      ctx.restore()
+
     for n in @nodes
       ctx.save()
-      ctx.translate(n.x, n.y)
       n.render(ctx)
       ctx.restore()
 

      ctx.fillText(@label,0,2*@radius)

    ctx.fillText(@value, 0, 0)

class NodeCollection
  constructor: () ->

node_style = stroke: 'white', width: 1.5, fill: 'black'
node_emph_style = stroke: 'white', width: 5.5, fill: 'black'
link_style = stroke: 'white', width: 1.5
light_link_style = stroke: 'white', width: .5
node_text_style = fill: 'white', font: '16px monospace'

setStyle = (ctx, s) ->
