     scope:
       nodes: '=',
     link: ($scope, $el, $attrs) ->
+
+
+
       # Helpers.
       # --------
 
       buildGraph = (data) ->
+
+        flare = get_flare data.links
+
+
         elements = []
         links = []
         _.each data.nodes, (node) ->


      #layout($scope.xxx)
      # ---
      # generated by js2coffee 2.0.1
        joint.layout.DirectedGraph.layout graph,
          setLinkVertices: false
          rankDir: 'lr'
          nodeSep: 150
          rankSep: 150
        return

      V(paper.viewport).translate 20, 20
