         r = n1.to(n2, form.type, {description: form.description}).get()
         r.from    = r.start
         r.to      = r.end
-        r.type    = r.type
         r.label   = r.type
+        r.group   = r.type
         r.arrows  = 'to'
         r
       else

              type: r.type
              label: r.type
              arrows: 'to'
            edges[r.id] = _.extend edge, r.properties

      visGraph.edges = (value for key, value of edges)

      r = n1.to(n2, form.type, {description: form.description}).get()
      r.from    = r.start
      r.to      = r.end
      r.label   = r.type
      r.group   = r.type
      r.arrows  = 'to'
      r

