   
   height += 150
   
+  if graph.links?
+    claim_links_d = 'b'
+    links_d = 't'
+  else
+    claim_links_d = 't'
+    links_d = 'b'
+  
   linearLayout graph.nodes
-  arcLinks graph.nodes,graph.node_links,'grey','b','claims'
+  arcLinks graph.nodes,graph.node_links,'grey',claim_links_d,'claims'
   
   $("#head").append "<span class='navbar-text info name'>" + graph.name + "</span>"
   $("#head").append "<span class='navbar-text info claims'>#Claims: " + graph.nodes.length + "</span>"

  ypos = pos.top
  windowHeigth = $(document).height()
  eleHeigth = $(this).height()
  
  $(".claim").css
    zIndex: 0
  $(this).css
    zIndex: 3
  
  if d3.event.y + eleHeigth <= windowHeigth 
    $(this).css
      top: "+=" + (d3.event.y - pos.top) + "px"

    $("tspan." + klass).css({'background-color': color, 'border':'2px solid '+lColor})
    # $("tspan." + klass).css({'background-color': color})

draw_line_between_nes = (klass,links) ->
  console.log klass
  console.log links


