 link_style = stroke: 'white', width: 1.5
 light_link_style = stroke: 'white', width: .5
 node_text_style = fill: 'white', font: '16px monospace'
+node_text_error_style = fill: 'red', font: '16px monospace'
 node_text_spacing = 18
 menu_text_style = fill: 'white', font: '16px sans'
 menu_text_invert_style = fill: 'black', font: '16px sans'

  constructor: (shape) ->
    super shape
    @codes = {}

  addCodes: (codes, pos) ->
    for symbol, code of codes


  render: (ctx) ->
    ctx.save()
    if @error?
      setStyle(ctx, node_text_error_style)
    else
      setStyle(ctx, node_text_style)
    ctx.textAlign = 'left'
    ctx.textBaseline = 'top'
    msg = "#{@symbol} = #{@code}"
