             'line-color': 'data(color)'
             'curve-style': 'bezier'
             'control-point-distances' : '-50 50 -50'
-            'target-arrow-color': 'data(color)'
-            'target-arrow-shape': 'triangle'
+            'mid-target-arrow-color': 'data(color)'
+            'mid-target-arrow-shape': 'triangle'
             'arrow-scale': 2
         }
         {

        }
      ]
      layout:
        name: 'breadthfirst'
        directed: false)



    cy = cytoscape(
      container: $cyContainer
      elements: $cyContainer.data('elements')
      style: [
        {
          selector: 'node'
