       @ln.obj3d.userData = this
       @props = {
         name: "lnk",
-        capacity: 100
-        #latency: 0
+        capacity: 1000,
+        a_name: null,
+        a_sys: null,
+        b_name:null,
+        b_sys: null,
+        latency: null
       }
 
       #TODO if ln itself is clicked on this messes up selection logic 

      @placingLink.endpoint[1] = ixs[0].object.userData

      @ve.surface.updateLink(@placingLink.ln)
      if @placingLink.endpoint[0] instanceof BaseElements.Router and
        @placingLink.endpoint[1] instanceof BaseElements.Router
          @placingLink.props.latency = 7
      else
        @placingLink.props.capacity = 1000
           

      @ve.container.onmousemove = null

#objects that comprise a Cypress networked CPS system
BaseElements = {
 
  #The Computer class is a representation of a computer
  Computer: class Computer
    constructor: (@parent, x, y, z) ->
      @shp = new Shapes.Diamond(0x007474, x, y, z, 15)
      @shp.obj3d.userData = this
      @parent.obj3d.add(@shp.obj3d)
      @props = {
        name: "ctl",
        sys: "",
        os: "Ubuntu1504-54-STD",
        start_script: ""
      }

    showProps: (f) ->
      f.add(@props, 'name')
      f.add(@props, 'sys')
      f.add(@props, 'start_script')
      f.add(@props, 'os')

    #cyjs generates the json for this object
